]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(asinh): Put __sgn1 call outside log1p call.
authorUlrich Drepper <drepper@redhat.com>
Mon, 26 Oct 1998 14:52:04 +0000 (14:52 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 26 Oct 1998 14:52:04 +0000 (14:52 +0000)
sysdeps/i386/fpu/__math.h

index 80dd9e508d86e3ed5c873f8feb44fe74e7f6b4fc..43881109ccd7ea0ced31c0472f7ee1df8a114fdb 100644 (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);