Erik Svensson created MATH-1591:
-----------------------------------
Summary: Add missing methods for FastMath to bring FastMath up to
JDK9 level
Key: MATH-1591
URL: https://issues.apache.org/jira/browse/MATH-1591
Project: Commons Math
Issue Type: Improvement
Affects Versions: 4.0
Reporter: Erik Svensson
With JDK9, 6 new methods were added to java.lang.Math which do not exist in
FastMath, which means that FastMath is not a drop-in replacement for jlM.
I propose to add them
The new methods are :
fma
([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#fma(double,double,double)])
multiplyFull
([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#multiplyFull(int,int)])
multiplyHigh
([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#multiplyHigh(long,long)])
negateExact
([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#negateExact(int)])
toDegrees
([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#toDegrees(double)])
toRadians
([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#toRadians(double)])
--
This message was sent by Atlassian Jira
(v8.3.4#803005)