summaryrefslogtreecommitdiff
path: root/lib/trigl.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-26 22:26:05 +0000
committerBruno Haible <bruno@clisp.org>2007-03-26 22:26:05 +0000
commit55eed6bbc87934f2db04981e6f0f1773ff77974f (patch)
tree3efbacdf3038c4f35632f5d0c82ba7ab89db6d46 /lib/trigl.c
parent9afb597f0d5a27ebff90bc4e493e30ab15791bf0 (diff)
downloadgnulib-55eed6bbc87934f2db04981e6f0f1773ff77974f.tar.gz
Better support of signalling NaNs.
Diffstat (limited to 'lib/trigl.c')
-rw-r--r--lib/trigl.c2
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];