> Dick> and I've come unstuck on trig maths of float type. Can
> Dick> somebody point me to a library of math functions (sin, cos,
> Dick> sqrt, abs etc) for type float on linux (i386).
>
> Aren't those in libm.a? (-lm)
Those, generally, return and take double arguments rather than float.
Some machines have libraries which support the shorter precision
word.
Personally, I've never noticed enough difference between float and
double in speed to bother with the shorter precision words and all of
the numerical instability that short precision entails. I just
declare all reals as double and leave it at that.
Especially in this case your mileage may vary.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/