Hello Havard,
I think the simplest solution for your problem is not posted so far:
just tell the compiler to use the inline code of the math-functions.
You can do this by adding the "-O2" flag to your CFLAGS.
The inline math-functions are faster than the one in libm, but less
error checking is performed. You have to check the returned values
for "NaN" to detect errors.
A further drawback of the inline functions is that gdb has difficulties
to identify the right source lines when debugging.
Bernd
* - * - * - * - * - * - * - * - * - * -
SWAROVSKI & CO
Dipl.-Inf. Bernd Suessmilch
Elektronik - Entwicklung 2
Tel. ++43 - +5224 - 500 DW 3671
Fax ++43 - +5224 - 571 90
Mailto: [EMAIL PROTECTED]
-- [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/