summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-128/e_remainderl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/e_remainderl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/e_remainderl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128/e_remainderl.c b/sysdeps/ieee754/ldbl-128/e_remainderl.c
index b8ae3ff240..c1c196ca9a 100644
--- a/sysdeps/ieee754/ldbl-128/e_remainderl.c
+++ b/sysdeps/ieee754/ldbl-128/e_remainderl.c
@@ -24,7 +24,7 @@
 #include <math.h>
 #include <math_private.h>
 
-static const _Float128 zero = 0.0L;
+static const _Float128 zero = 0;
 
 
 _Float128
@@ -58,7 +58,7 @@ __ieee754_remainderl(_Float128 x, _Float128 p)
 		if(x+x>=p) x -= p;
 	    }
 	} else {
-	    p_half = 0.5L*p;
+	    p_half = L(0.5)*p;
 	    if(x>p_half) {
 		x-=p;
 		if(x>=p_half) x -= p;