8375285: Addressed reviewer's comments.

This commit is contained in:
Anton Artemov 2026-02-05 09:43:40 +01:00
parent d8e231c724
commit 7c48fec025
2 changed files with 5 additions and 6 deletions

View File

@ -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 ±∞
*/

View File

@ -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);
}