8311122: Fix typos in java.base

Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
This commit is contained in:
Pavel Rappo 2023-07-04 19:03:09 +00:00
parent 607ddaa0e6
commit 7b3c2dc5f4
13 changed files with 23 additions and 23 deletions

View file

@ -1696,7 +1696,7 @@ final class FdLibm {
* This formula has one division fewer than the one above; however,
* it requires more multiplications and additions. Also x must be
* scaled in advance to avoid spurious overflow in evaluating the
* expression 3y*y+x. Hence it is not recommended uless division
* expression 3y*y+x. Hence it is not recommended unless division
* is slow. If division is very slow, then one should use the
* reciproot algorithm given in section B.
*
@ -3156,7 +3156,7 @@ final class FdLibm {
return h*StrictMath.exp(Math.abs(x));
}
// |x| in [log(maxdouble), overflowthresold]
// |x| in [log(maxdouble), overflowthreshold]
lx = __LO(x);
if (ix < 0x4086_33CE ||
((ix == 0x4086_33ce) &&
@ -3166,7 +3166,7 @@ final class FdLibm {
return t * w;
}
// |x| > overflowthresold, sinh(x) overflow
// |x| > overflowthreshold, sinh(x) overflow
return x * shuge;
}
}
@ -3231,7 +3231,7 @@ final class FdLibm {
return 0.5*StrictMath.exp(Math.abs(x));
}
// |x| in [log(maxdouble), overflowthresold]
// |x| in [log(maxdouble), overflowthreshold]
lx = __LO(x);
if (ix<0x4086_33CE ||
((ix == 0x4086_33ce) &&
@ -3241,7 +3241,7 @@ final class FdLibm {
return t*w;
}
// |x| > overflowthresold, cosh(x) overflow
// |x| > overflowthreshold, cosh(x) overflow
return huge*huge;
}
}