Date: Thu, 3 Apr 2008 06:14:51 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/src s_fma.c s_fmal.c Message-ID: <200804030614.m336EpMS027505@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2008-04-03 06:14:51 UTC FreeBSD src repository Modified files: lib/msun/src s_fma.c s_fmal.c Log: Fix some corner cases: - fma(x, y, z) returns z, not NaN, if z is infinite, x and y are finite, x*y overflows, and x*y and z have opposite signs. - fma(x, y, z) doesn't generate an overflow, underflow, or inexact exception if z is NaN or infinite, as per IEEE 754R. - If the rounding mode is set to FE_DOWNWARD, fma(1.0, 0.0, -0.0) is -0.0, not +0.0. Revision Changes Path 1.5 +10 -5 src/lib/msun/src/s_fma.c 1.4 +10 -5 src/lib/msun/src/s_fmal.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804030614.m336EpMS027505>