Dear Sylvain and Stephane,

> Like Dave and Chuck, we have some problems with the floating point.
> 
> We do very simple test program like three operations in floating point in a
> rt-thread and the computer jam or reboot or freeze.
> 
> I have add a very very simple and small test program in attach. Carefully,
> this program freeze the computer. If we change the operation for int, all
> run well. If we change the order of operation, the program can run... but
> the same operation in an other order crash the computer.
> 
> My code is very simple, we can have make a error but, I mean this is more fp.
> 

I've played with your code for a while, it really crashed my computer
but NOT due to floating point. The trouble was my computer does not have

/dev/rtf6

After all fifo operations were re-directed to /dev/rtf0, your test start
to work. My guess is you have to do the same. If not, let me know to learn
something :-) Another possible cause of trouble (less probable) is that
I don't use SMP (one Pentium only in my box). The best way to avoid this
kind of trouble is always to check return value of RTL functions.

Have a nice day.

pa
-- 
..........................................................................
Pavel Andris                               | tel: +421 7 5941 2167
Institute of Control Theory and Robotics   | fax: +421 7 5477 6045
Slovak Academy of Sciences                 | 
Dubravska cesta 9                          | e-mail: [EMAIL PROTECTED]
SK - 842 37 Bratislava                     |
Slovakia                                   |
..........................................................................
-- [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