math: fix __fpclassifyl(-0.0) for IEEE binary128
authorSzabolcs Nagy <nsz@port70.net>
Sun, 8 Feb 2015 16:41:56 +0000 (17:41 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Sun, 8 Feb 2015 16:41:56 +0000 (17:41 +0100)
commit3f92f92cb9c448ba82da5ff2cbbea692c7701c0c
tree80ec3415bf8ebaf5d70fc8a91aad354862ae299c
parent6e76e1540fc58a418494bf5eb832b556f9c5763e
math: fix __fpclassifyl(-0.0) for IEEE binary128

The sign bit was not cleared before checking for 0 so -0.0
was misclassified as FP_SUBNORMAL instead of FP_ZERO.
src/math/__fpclassifyl.c