about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128/s_lrintl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/s_lrintl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/s_lrintl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/ieee754/ldbl-128/s_lrintl.c b/sysdeps/ieee754/ldbl-128/s_lrintl.c
index b961f5be3a..5ba405f1e2 100644
--- a/sysdeps/ieee754/ldbl-128/s_lrintl.c
+++ b/sysdeps/ieee754/ldbl-128/s_lrintl.c
@@ -28,8 +28,8 @@
 
 static const _Float128 two112[2] =
 {
-  5.19229685853482762853049632922009600E+33L, /* 0x406F000000000000, 0 */
- -5.19229685853482762853049632922009600E+33L  /* 0xC06F000000000000, 0 */
+  L(5.19229685853482762853049632922009600E+33), /* 0x406F000000000000, 0 */
+ L(-5.19229685853482762853049632922009600E+33)  /* 0xC06F000000000000, 0 */
 };
 
 long int
@@ -113,7 +113,7 @@ __lrintl (_Float128 x)
 	 unspecified.  */
 #if defined FE_INVALID || defined FE_INEXACT
       if (x < (_Float128) LONG_MIN
-	  && x > (_Float128) LONG_MIN - 1.0L)
+	  && x > (_Float128) LONG_MIN - 1)
 	{
 	  /* If truncation produces LONG_MIN, the cast will not raise
 	     the exception, but may raise "inexact".  */