OSDev.org
https://forum.osdev.org/

triple fault..
https://forum.osdev.org/viewtopic.php?f=1&t=17085
Page 1 of 1

Author:  aztex [ Wed May 28, 2008 12:16 am ]
Post subject:  triple fault..

when i do float operation the os triple faults


Code:
float f;
f*=5;


if i insert this it triple faults..

Author:  JamesM [ Wed May 28, 2008 1:40 am ]
Post subject: 

Hi,

Firstly, what OS?.

Secondly, you're multiplying an undefined variable. That means you're performing floating point arithmetic on a number that may not actually be in IEEE754 format, so you're probably getting a floating point exception that you're not handling.

Cheers,

James

Author:  Combuster [ Wed May 28, 2008 4:33 am ]
Post subject: 

Quote:
so you're probably getting a floating point exception that you're not handling.

In other words: fix your IDT first.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/