diff options
author | Sven Gothel <[email protected]> | 2023-09-04 06:45:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-09-04 06:45:29 +0200 |
commit | e06d1d07125fb9489ea45d05fb40a562e2c4ca46 (patch) | |
tree | fc090c1dd6ae0d1e7a2dbb7be2dd7d2da458be77 /tools/jackpotc/jogl1Tojogl2.hint | |
parent | ba1c13b4eb4db2f15d2ee72d768748ab1f5d5639 (diff) |
FloatUtil.abs(a): Mark as deprecated, use Math.abs(a) directly. We assume it is an intrinsic + branch-less implementation
Expected implementation is
- return Float.intBitsToFloat(Float.floatToRawIntBits(a) & 0x7fffffff);
replacing old implementation
- return (a <= 0.0F) ? 0.0F - a : a;
.. also market as @IntrinsicCandidate
Hence we shall leave it to the JRE core-lib implementation...
Diffstat (limited to 'tools/jackpotc/jogl1Tojogl2.hint')
0 files changed, 0 insertions, 0 deletions