diff options
author | das <das@FreeBSD.org> | 2008-04-03 06:14:51 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-04-03 06:14:51 +0000 |
commit | 6a8cdf6fedaae32990f8fa3c347c703c2a99fa16 (patch) | |
tree | b0f4a995a3664c41decd740d78d02c7934acaa94 /lib/libc/stdlib/merge.c | |
parent | 24b0dea1b185e83c2e9bf4347228ed8c0fc7928e (diff) | |
download | FreeBSD-src-6a8cdf6fedaae32990f8fa3c347c703c2a99fa16.zip FreeBSD-src-6a8cdf6fedaae32990f8fa3c347c703c2a99fa16.tar.gz |
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.
Diffstat (limited to 'lib/libc/stdlib/merge.c')
0 files changed, 0 insertions, 0 deletions