This topic is now archived and is closed to further replies.


approximate expf

Recommended Posts

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]

Share this post

Link to post
Share on other sites