JDK 9 RFR of 8161413: Math.fma javadoc doesn't have @since 9 [doc-only]

Brian Burkhalter brian.burkhalter at oracle.com
Fri Jul 15 19:17:11 UTC 2016


Please review @ your convenience.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8161413
Patch:	[1]

Thanks,

Brian

[1] diff

--- a/src/java.base/share/classes/java/lang/Math.java
+++ b/src/java.base/share/classes/java/lang/Math.java
@@ -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/src/java.base/share/classes/java/lang/StrictMath.java
+++ b/src/java.base/share/classes/java/lang/StrictMath.java
@@ -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);



More information about the core-libs-dev mailing list