RFR: 8273346: Expand library mappings to IEEE 754 operations [v2]
Joe Darcy
darcy at openjdk.java.net
Wed Jun 1 02:25:36 UTC 2022
On Wed, 1 Jun 2022 02:05:40 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Generally add apiNote's to map from Java library methods to particular IEEE 754 operations. For now, I only added such notes to java.lang.Math and not java.lang.StrictMath.
>
> Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>
> - Respond to review feedback; make another pass to link methods to IEEE 754 operations.
> - Merge branch 'master' into JDK-8273346
> - Add floor and ceil.
> - JDK-8273346: Examine use of "rounding mode" and "rounding policy" in Math and StrictMath
I look another pass over the methods in Float, Double, and Math for opportunities to link to IEEE 754 operations. At least for now, I choose not to link to abs since IEEE 754 abs can have different behavior for NaN values that java.lang.Math.abs. If a link is made, this difference would need to be noted.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8876
More information about the core-libs-dev
mailing list