Home
last modified time | relevance | path

Searched refs:HYP (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldAndroidStrictMathTest.java24 private final double HYP = StrictMath.sqrt(2.0); field in OldAndroidStrictMathTest
69 .acos(ADJ / HYP)) == ADJ / HYP); in testAcosD()
75 .asin(OPP / HYP)) == OPP / HYP); in testAsinD()
144 .acos(ADJ / HYP)) == ADJ / HYP); in testCosD()
505 .asin(OPP / HYP)) == OPP / HYP); in testSinD()
DOldAndroidMathTest.java25 private static final double HYP = Math.sqrt(2.0); field in OldAndroidMathTest
83 double r = Math.cos(Math.acos(ADJ / HYP)); in testAcosD()
85 long t = Double.doubleToLongBits(ADJ / HYP); in testAcosD()
92 double r = Math.sin(Math.asin(OPP / HYP)); in testAsinD()
94 long t = Double.doubleToLongBits(OPP / HYP); in testAsinD()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java32 private static final double HYP = StrictMath.sqrt(2.0); field in StrictMathTest
92 .acos(ADJ / HYP)) == ADJ / HYP); in test_acosD()
101 .asin(OPP / HYP)) == OPP / HYP); in test_asinD()
314 .acos(ADJ / HYP)) == ADJ / HYP); in test_cosD()
1355 .asin(OPP / HYP)) == OPP / HYP); in test_sinD()
DMathTest.java22 double HYP = Math.sqrt(2.0); field in MathTest
79 double r = Math.cos(Math.acos(ADJ / HYP)); in test_acosD()
81 long t = Double.doubleToLongBits(ADJ / HYP); in test_acosD()
91 double r = Math.sin(Math.asin(OPP / HYP)); in test_asinD()
93 long t = Double.doubleToLongBits(OPP / HYP); in test_asinD()