about summary refs log tree commit diff
path: root/src/math/rintl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/rintl.c')
-rw-r--r--src/math/rintl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/rintl.c b/src/math/rintl.c
index 1cc35df5..6a311a9d 100644
--- a/src/math/rintl.c
+++ b/src/math/rintl.c
@@ -79,7 +79,7 @@ long double rintl(long double x)
 	 * If the result is +-0, then it must have the same sign as x, but
 	 * the above calculation doesn't always give this.  Fix up the sign.
 	 */
-	if (ex < BIAS && x == 0.0L)
+	if (ex < BIAS && x == 0.0)
 		return zero[sign];
 
 	return x;