From: Rich Felker Date: Tue, 1 May 2012 01:32:19 +0000 (-0400) Subject: add C stub for sqrtl (already implemented in asm on i386 and x86_64) X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=da5d89d42fb47c648fb83645e5e4a55bae907032 add C stub for sqrtl (already implemented in asm on i386 and x86_64) --- 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); +}