X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsqrtl.c;h=0645cca0cf95cdf23afee4cd03b87ca61fa88f62;hb=5652d70054daf3c2c9b6d475fdf9d24a940e51aa;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd;p=musl diff --git a/src/math/sqrtl.c b/src/math/sqrtl.c index e69de29b..0645cca0 100644 --- a/src/math/sqrtl.c +++ b/src/math/sqrtl.c @@ -0,0 +1,9 @@ +#include + +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); +}