RFR: 8355992: Add unsignedMultiplyExact and *powExact methods to Math and StrictMath
Per Minborg
pminborg at openjdk.org
Fri May 2 14:08:46 UTC 2025
On Fri, 2 May 2025 11:47:32 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
> Add `powExact()` and `unsignedPowExact()` methods that operate on integer values arguments.
> Further, add `unsignedMultiplyExact` methods as well.
Maybe it is too late, but shouldn't there be a better way to structure all these methods and variants in Math and MathExact? x(), xExact() and all the different parameter types create a rather big Cartesian product.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25003#issuecomment-2847293324
More information about the core-libs-dev
mailing list