math: fix a regression in powl and do some cleanups
authornsz <nsz@port70.net>
Tue, 27 Mar 2012 20:49:37 +0000 (22:49 +0200)
committernsz <nsz@port70.net>
Tue, 27 Mar 2012 20:49:37 +0000 (22:49 +0200)
commitcf682072ce16080ebe199e5055f686d81c8416ce
tree4a860dae892a57c8c2cf75d82371a915ebf3af3b
parentbbfbc7edaf992abe1d3d09868be07c4c1cc44db7
math: fix a regression in powl and do some cleanups
previously a division was accidentally turned into integer div
(w = -i/NXT;) instead of long double div (w = -i; w /= NXT;)
src/math/powl.c