I separated basic FP functions (add,sub, mul,div, etc.) from libm (which
contains math functions)
GCC provides basic FP. It is slow and havy. However, gcc's implementation is
paranoid about infs/nans/zeros/etc. But it fully conforms to ieee754 (in case
you want to treat infinity/nonumbers in a 'correct' way)
Our library does basic fp functions, but there is a less attention to inf/nan.
There are some rounding issues (can anybody check?) as well. But it is much
faster and smaller. (I am satisfied with the precesion in my 0.6 microm laser
interferometer though)
So, if tou're using libm and/or want to have fast FP operations, link libfp
(-lfp) along with libm.
have fun.
~d
--
/********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
********************************************************************/