X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fmath%2Fcosh.c;h=5f38b276574993caffa43e1e07ad79c185815b66;hp=5b871db6c2487790fb433991ef79c3390bcf962f;hb=25215b63b9aa93089a9a05d1cffc3784109228c6;hpb=7e71d459b4104aae67ad092172be295cc221e284 diff --git a/src/math/cosh.c b/src/math/cosh.c index 5b871db..5f38b27 100644 --- a/src/math/cosh.c +++ b/src/math/cosh.c @@ -67,7 +67,7 @@ double cosh(double x) /* |x| in [log(maxdouble), overflowthresold] */ if (ix <= 0x408633CE) - return __ldexp_exp(fabs(x), -1); + return __expo2(fabs(x)); /* |x| > overflowthresold, cosh(x) overflow */ return huge*huge;