On Wed, 7 Jul 2021 20:28:37 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
> Please consider this change to make the `float` and `double` versions of > `java.lang.Math.abs()` branch-free. Your patch change the semantics, actually `Math.abs(Integer.MIN_VALUE) == Integer.MIN_VALUE` with your patch `Math.abs(Integer.MIN_VALUE) == Integer.MAX_VALUE` ------------- PR: https://git.openjdk.java.net/jdk/pull/4711