Date: Sat, 3 Dec 2005 09:00:29 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/src s_rintf.c Message-ID: <200512030900.jB390Te2030438@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512030900.jB390Te2030438>