about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128/e_exp10l.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/e_exp10l.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/e_exp10l.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/ieee754/ldbl-128/e_exp10l.c b/sysdeps/ieee754/ldbl-128/e_exp10l.c
index 6986c72b17..9432b18577 100644
--- a/sysdeps/ieee754/ldbl-128/e_exp10l.c
+++ b/sysdeps/ieee754/ldbl-128/e_exp10l.c
@@ -19,8 +19,8 @@
 #include <math_private.h>
 #include <float.h>
 
-static const _Float128 log10_high = 0x2.4d763776aaa2bp0L;
-static const _Float128 log10_low = 0x5.ba95b58ae0b4c28a38a3fb3e7698p-60L;
+static const _Float128 log10_high = L(0x2.4d763776aaa2bp0);
+static const _Float128 log10_low = L(0x5.ba95b58ae0b4c28a38a3fb3e7698p-60);
 
 _Float128
 __ieee754_exp10l (_Float128 arg)
@@ -35,8 +35,8 @@ __ieee754_exp10l (_Float128 arg)
     return LDBL_MIN * LDBL_MIN;
   else if (arg > LDBL_MAX_10_EXP + 1)
     return LDBL_MAX * LDBL_MAX;
-  else if (fabsl (arg) < 0x1p-116L)
-    return 1.0L;
+  else if (fabsl (arg) < L(0x1p-116))
+    return 1;
 
   u.value = arg;
   u.parts64.lsw &= 0xfe00000000000000LL;