summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/k_rem_pio2.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2005-12-03 09:00:29 +0000
committerbde <bde@FreeBSD.org>2005-12-03 09:00:29 +0000
commit14cb0170de4ee04ce0f63eb8bc7eec963244de6a (patch)
tree1719caab378e5cfeaadd82f3407275d2a099677c /lib/msun/src/k_rem_pio2.c
parent737cb276f5017cb4b169b0b53ae5937053f003ca (diff)
downloadFreeBSD-src-14cb0170de4ee04ce0f63eb8bc7eec963244de6a.zip
FreeBSD-src-14cb0170de4ee04ce0f63eb8bc7eec963244de6a.tar.gz
Restored removal of the special handling needed for a result of +-0.
It was lost in rev.1.9. The log message for rev.1.9 says that the special case of +-0 is handled twice, but it was only handled once, so it became unhandled, and this happened to break half of the cases that return +-0: - round-towards-minus-infinity: 0 < x < 1: result was -0 not 0 - round-to-nearest: -0.5 <= x < 0: result was 0 not -0 - round-towards-plus-infinity: -1 < x < 0: result was 0 not -0 - round-towards-zero: -1 < x < 0: result was 0 not -0
Diffstat (limited to 'lib/msun/src/k_rem_pio2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud