RFR: 6506405: Math.abs(float) is slow [v5]

Brian Burkhalter bpb at openjdk.java.net
Thu Jul 8 18:15:23 UTC 2021


> Please consider this change to make the `float` and `double` versions of `java.lang.Math.abs()` branch-free.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  6506405: Add some tests

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4711/files
  - new: https://git.openjdk.java.net/jdk/pull/4711/files/9c35e74a..5ac31ec4

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4711&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4711&range=03-04

  Stats: 105 lines in 1 file changed: 103 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4711.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4711/head:pull/4711

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


More information about the core-libs-dev mailing list