< prev index next >

test/java/lang/StrictMath/CubeRootTests.java

Print this page
rev 17324 : 8181759: add explicit @build actions for jdk.test.lib classes in all :tier1 tests
Reviewed-by: duke


   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 4347132 8136799
  27  * @key randomness
  28  * @library /test/lib

  29  * @build Tests
  30  * @build FdlibmTranslit
  31  * @build CubeRootTests
  32  * @run main CubeRootTests
  33  * @summary Tests specifically for StrictMath.cbrt
  34  * @author Joseph D. Darcy
  35  */
  36 
  37 import jdk.test.lib.RandomFactory;
  38 
  39 /**
  40  * The tests in ../Math/CubeRootTests.java test properties that should
  41  * hold for any cube root implementation, including the FDLIBM-based
  42  * one required for StrictMath.cbrt.  Therefore, the test cases in
  43  * ../Math/CubeRootTests.java are run against both the Math and
  44  * StrictMath versions of cube root.  The role of this test is to
  45  * verify that the FDLIBM cbrt algorithm is being used by running
  46  * golden file tests on values that may vary from one conforming cube
  47  * root implementation to another.
  48  */




   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 4347132 8136799
  27  * @key randomness
  28  * @library /test/lib
  29  * @build jdk.test.lib.RandomFactory
  30  * @build Tests
  31  * @build FdlibmTranslit
  32  * @build CubeRootTests
  33  * @run main CubeRootTests
  34  * @summary Tests specifically for StrictMath.cbrt
  35  * @author Joseph D. Darcy
  36  */
  37 
  38 import jdk.test.lib.RandomFactory;
  39 
  40 /**
  41  * The tests in ../Math/CubeRootTests.java test properties that should
  42  * hold for any cube root implementation, including the FDLIBM-based
  43  * one required for StrictMath.cbrt.  Therefore, the test cases in
  44  * ../Math/CubeRootTests.java are run against both the Math and
  45  * StrictMath versions of cube root.  The role of this test is to
  46  * verify that the FDLIBM cbrt algorithm is being used by running
  47  * golden file tests on values that may vary from one conforming cube
  48  * root implementation to another.
  49  */


< prev index next >