Hi,

I am trying to do some floating point calculations using RTLinux 2.2.
Sometimes it works, but most of the time it doesn't work... the result
being a total linux lockup or my machine restarting.

There is some "tougher" math I need to add soon, but even simple things
like this:

double x;
int i;
x = (double) i + x * 1000.0;

don't even work.

I've tried pthread_setfp_np in many different locations,
have tried the "Hardware floating point support in interrupt handlers"
(www.aero.polimi.it/projects/rtai/fpirq.htm),
have tried running in a console instead of in X windows.

I'm not using any shared memory.

I'm interested in hearing from anyone who has had success with floating
point calculations or knows how to get this to work.  Is there something
obvious I'm missing ?

Thanks,

Paul


-- [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