mlibc/options/ansi/musl-generic-math/sqrtl.c
Alexander van der Grinten 59e8fd6611 options/ansi: Import math from musl
Not everything of musl's code is compiled yet (i.e. the .ignored-c
files are not) as we need fenv.h first. Our previous math code is
also not deleted yet but not compiled anymore.
2018-03-01 23:20:00 +01:00

8 lines
140 B
C

#include <math.h>
long double sqrtl(long double x)
{
/* FIXME: implement in C, this is for LDBL_MANT_DIG == 64 only */
return sqrt(x);
}