Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions test/jdk/java/lang/Math/HyperbolicTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -974,11 +974,11 @@ static int testTanh() {

/**
* Test accuracy of {Math, StrictMath}.tanh using quad precision
* tanh implementation as the reference.
* tanh implementation as the reference. There are additional tests.
* The specified accuracy is 2.5 ulps.
*
*/
static int testTanhWithReference() {
static int testTanhAdditionalTests() {
int failures = 0;
/*
* Array elements below are generated using a quad precision tanh
Expand Down Expand Up @@ -1716,8 +1716,6 @@ static int testTanhWithReference() {
{-9.88131291682493088353137585736442745e-324, -9.88131291682493088353137585736442745e-324},
{+4.94065645841246544176568792868221372e-324, +4.94065645841246544176568792868221372e-324},
{-4.94065645841246544176568792868221372e-324, -4.94065645841246544176568792868221372e-324},
{+0.00000000000000000000000000000000000e+00, +0.00000000000000000000000000000000000e+00},
{-0.00000000000000000000000000000000000e+00, -0.00000000000000000000000000000000000e+00},
};

for (int i = 0; i < testCases.length; i++) {
Expand Down