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 1 month ago
parent
commit
a1f1e7224a
1 changed files with 1 additions and 1 deletions
  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__ */