On Fri, 2 May 2025 14:06:23 GMT, Per Minborg <pminb...@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. @minborg I'm open to suggestions for the `pow` methods. But for the `unsignedMultiplyExact` methods, as their signed counterparts are already in `[Strict]Math` since a long time, I think they should land there as well. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25003#issuecomment-2847316992