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
Add a link
Reference in a new issue