X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsinh.c;h=00022c4e6ff6d8250ea238207a12199a1e349dac;hb=98be442ee8a2b8b7e0802b604e384d5a2c43282e;hp=47e36bfa293a1dd41a3a4b1055aae1fcf8029868;hpb=f143458223f90262a9c2d929f9e815a74e3aa139;p=musl diff --git a/src/math/sinh.c b/src/math/sinh.c index 47e36bfa..00022c4e 100644 --- a/src/math/sinh.c +++ b/src/math/sinh.c @@ -23,8 +23,8 @@ double sinh(double x) t = expm1(absx); if (w < 0x3ff00000) { if (w < 0x3ff00000 - (26<<20)) - /* note: inexact is raised by expm1 */ - /* note: this branch avoids underflow */ + /* note: inexact and underflow are raised by expm1 */ + /* note: this branch avoids spurious underflow */ return x; return h*(2*t - t*t/(t+1)); }