On Tue, 2 Apr 2024 23:43:24 GMT, Joe Darcy <[email protected]> wrote:
> Happened to notice a semantic typo in the description of
> MathContext.DECIMAL128, use of "decimal64" where "decimal128" was intended,
> and added some additional information to make the related descriptions more
> informative.
src/java.base/share/classes/java/math/MathContext.java line 106:
> 104: * rounding mode of {@link RoundingMode#HALF_EVEN HALF_EVEN}.
> 105: * Note the exponent range of decimal128 (min exponent of -6143,
> 106: * max exponent of 6144) is <em>not</em> used for rounding.
The exponent ranges are all correct, but... why mention them in the first place
if they are not used?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18587#discussion_r1549913966