25845f
Suppress integer division by zero warnings by using floating-point
25845f
literals.  Introduced by glibc-rh1409611.patch.
25845f
25845f
diff --git a/sysdeps/ieee754/dbl-64/e_log.c b/sysdeps/ieee754/dbl-64/e_log.c
25845f
index 930aa0eed8ec7818..e3e0eda594735f62 100644
25845f
--- a/sysdeps/ieee754/dbl-64/e_log.c
25845f
+++ b/sysdeps/ieee754/dbl-64/e_log.c
25845f
@@ -78,9 +78,9 @@ __ieee754_log(double x) {
25845f
   n=0;
25845f
   if (__builtin_expect(ux < 0x00100000, 0)) {
25845f
     if (__builtin_expect(((ux & 0x7fffffff) | dx) == 0, 0))
25845f
-      return MHALF/0; /* return -INF */
25845f
+      return MHALF/0.0; /* return -INF */
25845f
     if (__builtin_expect(ux < 0, 0))
25845f
-      return (x-x)/0;                         /* return NaN  */
25845f
+      return (x-x)/0.0;                         /* return NaN  */
25845f
     n -= 54;    x *= two54.d;                              /* scale x     */
25845f
     num.d = x;
25845f
   }