From a1f1e7224ac2e4294113abb1a44bea575d5c622f Mon Sep 17 00:00:00 2001 From: Marcus Haehnel Date: Sun, 3 Mar 2024 22:12:10 +0100 Subject: 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. --- libm/w_j0f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libm/w_j0f.c b/libm/w_j0f.c index 89821bc98..496e098cd 100644 --- a/libm/w_j0f.c +++ b/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__ */ -- cgit v1.2.3