math: add dummy implementations of 128 bit long double functions

This is in preparation for the aarch64 port only to have the long
double math symbols available on ld128 platforms. The implementations
should be fixed up later once we have proper tests for these functions.

Added bigendian handling for ld128 bit manipulations too.
This commit is contained in:
Szabolcs Nagy
2015-03-10 20:01:20 +00:00
committed by Rich Felker
parent 53cfe0c61a
commit f4e4632abf
17 changed files with 111 additions and 4 deletions

View File

@ -32,4 +32,10 @@ long double asinhl(long double x)
}
return s ? -x : x;
}
#elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384
// TODO: broken implementation to make things compile
long double asinhl(long double x)
{
return asinh(x);
}
#endif