math: exp.c clean up
authorSzabolcs Nagy <nsz@port70.net>
Sat, 17 Nov 2012 22:22:41 +0000 (23:22 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Sat, 17 Nov 2012 22:22:41 +0000 (23:22 +0100)
commitbbbf045ce96fe5daae7e220487dc44c9d971bd9d
tree72e6d4eb161a6469879c5692826bb688264b1243
parenta4db94ab78db29eddc957879251f3e0bc7ffb571
math: exp.c clean up

overflow and underflow was incorrect when the result was not stored.
an optimization for the 0.5*ln2 < |x| < 1.5*ln2 domain was removed.
did various cleanups around static constants and made the comments
consistent with the code.
src/math/exp.c