(asinh): Put __sgn1 call outside log1p call.

This commit is contained in:
Ulrich Drepper 1998-10-26 14:52:04 +00:00
parent d5ff2f1fe0
commit bd28890631

View File

@ -406,8 +406,8 @@ asinh (double __x)
{
register double __y = fabs (__x);
return log1p ((__y * __y / (sqrt (__y * __y + 1.0) + 1.0) + __y)
* __sgn1 (__x));
return (log1p (__y * __y / (sqrt (__y * __y + 1.0) + 1.0) + __y)
* __sgn1 (__x));
}
__MATH_INLINE double acosh (double __x);