]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_atanhl.c
Avoid overflows from long double functions using __kernel_standard.
[thirdparty/glibc.git] / math / w_atanhl.c
index 319535d1721621a9e936ed67849ae1e2b4cb344b..6b00bbb4eaa13a04b5ded659fa434dbace0fb34d 100644 (file)
@@ -26,10 +26,10 @@ __atanhl (long double x)
 {
   if (__builtin_expect (isgreaterequal (fabsl (x), 1.0L), 0)
       && _LIB_VERSION != _IEEE_)
-    return __kernel_standard (x, x,
-                             fabsl (x) > 1.0L
-                             ? 230             /* atanh(|x|>1) */
-                             : 231);           /* atanh(|x|==1) */
+    return __kernel_standard_l (x, x,
+                               fabsl (x) > 1.0L
+                               ? 230           /* atanh(|x|>1) */
+                               : 231);         /* atanh(|x|==1) */
 
   return __ieee754_atanhl (x);
 }