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