diff options
author | Bruno Haible <bruno@clisp.org> | 2007-03-26 22:26:05 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-03-26 22:26:05 +0000 |
commit | 55eed6bbc87934f2db04981e6f0f1773ff77974f (patch) | |
tree | 3efbacdf3038c4f35632f5d0c82ba7ab89db6d46 /lib/trigl.c | |
parent | 9afb597f0d5a27ebff90bc4e493e30ab15791bf0 (diff) | |
download | gnulib-55eed6bbc87934f2db04981e6f0f1773ff77974f.tar.gz |
Better support of signalling NaNs.
Diffstat (limited to 'lib/trigl.c')
-rw-r--r-- | lib/trigl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/trigl.c b/lib/trigl.c index a34e98f493..c82b509a3b 100644 --- a/lib/trigl.c +++ b/lib/trigl.c @@ -233,7 +233,7 @@ ieee754_rem_pio2l (long double x, long double *y) return -1; } - if (x + x == x || x != x) /* x is +=oo or NaN */ + if (x + x == x) /* x is ±oo */ { y[0] = x - x; y[1] = y[0]; |