mirror of
https://github.com/fluencelabs/musl
synced 2025-06-06 03:21:36 +00: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