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:
parent
90e6b1dedd
commit
d46ee264df
@ -1613,6 +1613,8 @@ public final class Math {
|
||||
* @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 @@ public final class Math {
|
||||
* @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) {
|
||||
|
@ -1276,6 +1276,8 @@ public final class StrictMath {
|
||||
* @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 @@ public final class StrictMath {
|
||||
* @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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user