summaryrefslogtreecommitdiff
path: root/lib/trigl.c
diff options
context:
space:
mode:
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];