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.

This pull request has now been integrated.

Changeset: c0d4efff
Author:    Brian Burkhalter <b...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/c0d4efff3c7b853cd663726b668d49d01e0f8ee0
Stats:     129 lines in 4 files changed: 121 ins; 0 del; 8 mod

6506405: Math.abs(float) is slow

Reviewed-by: darcy

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

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

Reply via email to