math: fix pow(+-0,-inf) not to raise divbyzero flag
authorSzabolcs Nagy <nsz@port70.net>
Sat, 11 Apr 2015 00:35:07 +0000 (00:35 +0000)
committerRich Felker <dalias@aerifal.cx>
Sat, 18 Apr 2015 04:18:52 +0000 (00:18 -0400)
commitcb5c057c87240a9534f8e0d9b7ff2560082f6218
tree117ffb9451b09596e2cfff1c7a98513f55d39eab
parent1b1cafa50c11d4c772a4f938b2feb7cbcc5f992a
math: fix pow(+-0,-inf) not to raise divbyzero flag

this reverts the commit f29fea00b5bc72d4b8abccba2bb1e312684d1fce
which was based on a bug in C99 and POSIX and did not match IEEE-754
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1515.pdf
src/math/pow.c
src/math/powf.c
src/math/powl.c