mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
This commit is contained in:
parent
607ddaa0e6
commit
7b3c2dc5f4
13 changed files with 23 additions and 23 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue