RFR: 8188044: We need Math.unsignedMultiplyHigh [v2]

Brian Burkhalter bpb at openjdk.java.net
Thu Jul 1 22:10:58 UTC 2021


On Thu, 1 Jul 2021 18:08:22 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Please consider this proposal to add a method `unsignedMultiplyHigh(long,long)` to each of `java.lang.Math` and `java.lang.StrictMath`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8188044: Add @see links between multiplyHigh() and unsignedMultiplyHigh().

Yes, I am aware of those methods on `Long`. We do however already have `Math.multiplyHigh()` so adding the new method to `Math` would be consistent.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4644


More information about the core-libs-dev mailing list