Can anyone answer the two questions below for me?

A friend was asking me that.


I found the following quote at the indicated URL:

URL:    http://www.rtlinux.org/~rtlinux/body.shtml

"Fixed Point Arithmetic
          The rt_fixed Kernel-Module implements fixed point arithmetic for
use under rt-linux. The intention is to avoid using the FPU in kernel-space
and thus implementing a method to do calculations without interfering with
linux. The basic approach is to convert double numbers to numbers of type
rt_fixed14 before sending them to the rt-linux side of an application."

This quote seems to imply that it is a BAD THING to use floating point in
real-time applications under RT Linux.  This leads to two questions:

1) Do you have to use fixed point arithmetic with RT Linux or can you use
floating point arithmetic?

2) If floating point cannot be used, why not?

I have several large sections of floating point code that I would like to
run in real time without having to rewrite the code to use fixed point
arithmetic.


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