Skip to content

Commit

Permalink
8316688: Widen allowable error bound of Math.hypot
Browse files Browse the repository at this point in the history
Reviewed-by: bpb, rgiulietti
  • Loading branch information
jddarcy committed Sep 22, 2023
1 parent 6c61bc1 commit b66ded9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java.base/share/classes/java/lang/Math.java
Original file line number Diff line number Diff line change
Expand Up @@ -2755,7 +2755,7 @@ public static double tanh(double x) {
* <li> If both arguments are zero, the result is positive zero.
* </ul>
*
* <p>The computed result must be within 1 ulp of the exact
* <p>The computed result must be within 1.5 ulps of the exact
* result. If one parameter is held constant, the results must be
* semi-monotonic in the other parameter.
*
Expand Down

1 comment on commit b66ded9

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.