Message ID | 20240303211216.1879-1-marcus.haehnel@kernkonzept.com |
---|---|
State | Accepted |
Headers | show |
Series | [uclibc-ng-devel] libm/w_j0f.c: Call correct ieee754 function | expand |
Hi Marcus, Marcus Haehnel wrote, > 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. Applied and pushed, thx Waldemar
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__ */