Add incomplet long double math support to libmingwex.a
This commit is contained in:
8
winsup/mingw/mingwex/math/sqrtl.c
Normal file
8
winsup/mingw/mingwex/math/sqrtl.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <math.h>
|
||||
long double
|
||||
sqrtl (long double x)
|
||||
{
|
||||
long double res;
|
||||
asm ("fsqrt" : "=t" (res) : "0" (x));
|
||||
return res;
|
||||
}
|
Reference in New Issue
Block a user