cvs commit: src/lib/msun/src s_rintf.c
Bruce Evans
bde at FreeBSD.org
Sat Dec 3 09:00:30 GMT 2005
bde 2005-12-03 09:00:29 UTC
FreeBSD src repository
Modified files:
lib/msun/src s_rintf.c
Log:
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
Revision Changes Path
1.10 +2 -0 src/lib/msun/src/s_rintf.c
More information about the cvs-src
mailing list