Browse Source

libm/w_j0f.c: Call correct ieee754 function

The j0f implementation should, like the other float implementations,
call the __ieee754_y0 variant for doubles. A float variant is not
declared and leads to a compile error on c99 builds.
Marcus Haehnel 2 tháng trước cách đây
mục cha
commit
a1f1e7224a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libm/w_j0f.c

+ 1 - 1
libm/w_j0f.c

@@ -63,6 +63,6 @@ y0f (float x)
 	return __kernel_standard_f (x, x, 135);
     }
 # endif /* __UCLIBC_HAS_FENV__ */
-  return (float) __ieee754_y0f ((double) x);
+  return (float) __ieee754_y0 ((double) x);
 }
 #endif /* __DO_XSI_MATH__ */