mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
add C stub for sqrtl (already implemented in asm on i386 and x86_64)
This commit is contained in:
parent
f681975577
commit
da5d89d42f
1 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue