diff --git a/src/math/sqrtl.c b/src/math/sqrtl.c index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0645cca0cf95cdf23afee4cd03b87ca61fa88f62 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); +}