Page 1 of 1

triple fault..

Posted: Wed May 28, 2008 12:16 am
by aztex
when i do float operation the os triple faults

Code: Select all

float f;
f*=5;
if i insert this it triple faults..

Posted: Wed May 28, 2008 1:40 am
by JamesM
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

Posted: Wed May 28, 2008 4:33 am
by Combuster
so you're probably getting a floating point exception that you're not handling.
In other words: fix your IDT first.