approximate expf
does anyone have code for the macro approximation of expf (c++) ..
i know it involves bit shifting & a couple of constants, but i can't find it ..
.. and i'm too lazy to figure it out myself ..
(edit)
oh yea, it has to be single-precision .. i.e. 'float' .. not 'double'
[edited by - aphydx on April 5, 2004 8:02:02 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement