summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorMarcus Haehnel <marcus.haehnel@kernkonzept.com>2024-03-03 22:12:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-04 08:04:57 +0100
commita1f1e7224ac2e4294113abb1a44bea575d5c622f (patch)
tree5078b6f9f7031aa3fae997b9ead63d498607f57a /libm
parent949ccc281c9d93e098dd8b0ea628ad0d277e9578 (diff)
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.
Diffstat (limited to 'libm')
-rw-r--r--libm/w_j0f.c2
1 files changed, 1 insertions, 1 deletions
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__ */