8161413: Math.fma javadoc doesn't have @since 9
Summary: Add @since tag for float and double versions of fma().
Reviewed-by: rriggs
--- a/jdk/src/java.base/share/classes/java/lang/Math.java Fri Jul 15 17:31:30 2016 +0100
+++ b/jdk/src/java.base/share/classes/java/lang/Math.java Fri Jul 15 12:30:10 2016 -0700
@@ -1613,6 +1613,8 @@
* @return (<i>a</i> × <i>b</i> + <i>c</i>)
* computed, as if with unlimited range and precision, and rounded
* once to the nearest {@code double} value
+ *
+ * @since 9
*/
// @HotSpotIntrinsicCandidate
public static double fma(double a, double b, double c) {
@@ -1728,6 +1730,8 @@
* @return (<i>a</i> × <i>b</i> + <i>c</i>)
* computed, as if with unlimited range and precision, and rounded
* once to the nearest {@code float} value
+ *
+ * @since 9
*/
// @HotSpotIntrinsicCandidate
public static float fma(float a, float b, float c) {
--- a/jdk/src/java.base/share/classes/java/lang/StrictMath.java Fri Jul 15 17:31:30 2016 +0100
+++ b/jdk/src/java.base/share/classes/java/lang/StrictMath.java Fri Jul 15 12:30:10 2016 -0700
@@ -1276,6 +1276,8 @@
* @return (<i>a</i> × <i>b</i> + <i>c</i>)
* computed, as if with unlimited range and precision, and rounded
* once to the nearest {@code double} value
+ *
+ * @since 9
*/
public static double fma(double a, double b, double c) {
return Math.fma(a, b, c);
@@ -1328,6 +1330,8 @@
* @return (<i>a</i> × <i>b</i> + <i>c</i>)
* computed, as if with unlimited range and precision, and rounded
* once to the nearest {@code float} value
+ *
+ * @since 9
*/
public static float fma(float a, float b, float c) {
return Math.fma(a, b, c);