Math.java has some interesting methods, just a few examples:
- fma
- sin, cos, tan, ...
- sqrt, round, ...
- multiplyHigh is very interesting and probably overlooked
basically anything that is IntrinsicCandidate, and probably even more than that.
Even things like addExact could be interesting, especially once we do auto-vectorization with if-conversion.
We may also want to look like classes:
- StrictMath
- maybe others that operate on Primitive types?
- fma
- sin, cos, tan, ...
- sqrt, round, ...
- multiplyHigh is very interesting and probably overlooked
basically anything that is IntrinsicCandidate, and probably even more than that.
Even things like addExact could be interesting, especially once we do auto-vectorization with if-conversion.
We may also want to look like classes:
- StrictMath
- maybe others that operate on Primitive types?
- relates to
-
JDK-8359412 Template-Framework Library: Operations and Expressions
-
- Resolved
-