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