mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-23 05:34:47 +03:00
add C stub for sqrtl (already implemented in asm on i386 and x86_64)
This commit is contained in:
parent
f681975577
commit
da5d89d42f
@ -0,0 +1,9 @@
|
||||
#include <math.h>
|
||||
|
||||
long double sqrtl(long double x)
|
||||
{
|
||||
/* FIXME: implement sqrtl in C. At least this works for now on
|
||||
* ARM (which uses ld64), the only arch without sqrtl asm
|
||||
* that's supported so far. */
|
||||
return sqrt(x);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user