math: use 0x1p-120f and 0x1p120f for tiny and huge values
[musl] / src / math / asinhl.c
index db96624..3ea8874 100644 (file)
@@ -31,7 +31,7 @@ long double asinhl(long double x)
                x = log1pl(x + x*x/(sqrtl(x*x+1)+1));
        } else {
                /* |x| < 0x1p-32, raise inexact if x!=0 */
-               FORCE_EVAL(x + 0x1p1000);
+               FORCE_EVAL(x + 0x1p120f);
        }
        return s ? -x : x;
 }