Hi:

I compiled a task with GCC 2.8.1 to do inline floating point by including
<math.h> and setting up the appropriate define flag.

I then strated a periodic RT task that tries to calculate the square root
of -1. 

I expected a nasty crash.

Instead, the task kept rolling along, surviving the floating point errors.
I check the assembler code generated by GCC and the fsqrt instruction is
there.

Can someone explain what's going on and why my puter did not crash?

Pierre
_______________________________________________________

Pierre Cloutier  
Tel: (450)-659-9186
Fax: (450)-659-0014
POSEIDON CONTROLS INC
_______________________________________________________

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to