mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-04 12:08:36 +00:00
8375285: Addressed reviewer's comments.
This commit is contained in:
parent
d8e231c724
commit
7c48fec025
@ -3528,7 +3528,7 @@ final class FdLibm {
|
||||
*
|
||||
*
|
||||
* Special cases:
|
||||
* only asinh(±0))=±0) is exact for finite x.
|
||||
* only asinh(±0)=±0 is exact for finite x.
|
||||
* asinh(NaN) is NaN
|
||||
* asinh(±∞) is ±∞
|
||||
*/
|
||||
|
||||
@ -1530,8 +1530,7 @@ public class HyperbolicTests {
|
||||
};
|
||||
|
||||
|
||||
for (int i = 0; i < testCases.length; i++) {
|
||||
double [] testCase = testCases[i];
|
||||
for (double [] testCase : testCases) {
|
||||
failures += testAsinhCaseWithUlpDiff(testCase[0],
|
||||
testCase[1],
|
||||
3.0);
|
||||
@ -1554,9 +1553,9 @@ public class HyperbolicTests {
|
||||
|
||||
|
||||
|
||||
for (int i = 0; i < specialTestCases.length; i++) {
|
||||
failures += testAsinhCaseWithUlpDiff(specialTestCases[i][0],
|
||||
specialTestCases[i][1],
|
||||
for (double [] specialTestCase : specialTestCases) {
|
||||
failures += testAsinhCaseWithUlpDiff(specialTestCase[0],
|
||||
specialTestCase[1],
|
||||
0.0);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user