Remove matherr, and SVID and X/Open math library configurations
Default math library configuration is now IEEE
This commit is contained in:
committed by
Corinna Vinschen
parent
1f10a00ba7
commit
b14a879d85
@@ -52,12 +52,12 @@ __FLT_ABI(acosh) (__FLT_TYPE x)
|
||||
int x_class = fpclassify (x);
|
||||
if (x_class == FP_NAN || x < __FLT_CST(1.0))
|
||||
{
|
||||
__FLT_RPT_DOMAIN ("acosh", x, 0.0, __FLT_NAN);
|
||||
errno = EDOM;
|
||||
return __FLT_NAN;
|
||||
}
|
||||
else if (x_class == FP_INFINITE)
|
||||
{
|
||||
__FLT_RPT_DOMAIN ("acosh", x, 0.0, __FLT_NAN);
|
||||
errno = EDOM;
|
||||
return __FLT_NAN;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user