8161413: Math.fma javadoc doesn't have @since 9

Add @since tag for float and double versions of fma().

Reviewed-by: rriggs
This commit is contained in:
Brian Burkhalter 2016-07-15 12:30:10 -07:00
parent 90e6b1dedd
commit d46ee264df
2 changed files with 8 additions and 0 deletions

View File

@ -1613,6 +1613,8 @@ public final class Math {
* @return (<i>a</i>&nbsp;&times;&nbsp;<i>b</i>&nbsp;+&nbsp;<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 @@ public final class Math {
* @return (<i>a</i>&nbsp;&times;&nbsp;<i>b</i>&nbsp;+&nbsp;<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) {

View File

@ -1276,6 +1276,8 @@ public final class StrictMath {
* @return (<i>a</i>&nbsp;&times;&nbsp;<i>b</i>&nbsp;+&nbsp;<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 @@ public final class StrictMath {
* @return (<i>a</i>&nbsp;&times;&nbsp;<i>b</i>&nbsp;+&nbsp;<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);