Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 16 of 16) sorted by relevance

/libcore/luni/src/test/resources/
Dmath_tests.csv3137 cos,0x1.c1a27ae836f13p-1,0x1.feb1f7920e248p-2
3138 cos,0x1.c1a27ae836f13p-1,-0x1.feb1f7920e248p-2
3139 cos,0x1.78daf01036d0dp-1,0x1.7cb7648526f99p-1
3140 cos,0x1.78daf01036d0dp-1,-0x1.7cb7648526f99p-1
3141 cos,0x1.ff8eb6a91ecbp-1,0x1.549ec0c0c5afap-5
3142 cos,0x1.ff8eb6a91ecbp-1,-0x1.549ec0c0c5afap-5
3143 cos,0x1.fed0476fc75cap-1,0x1.16e534ee3658p-4
3144 cos,0x1.fed0476fc75cap-1,-0x1.16e534ee3658p-4
3145 cos,0x1.f10fc61e2c78fp-1,0x1.efeef61d39ac2p-3
3146 cos,0x1.f10fc61e2c78fp-1,-0x1.efeef61d39ac2p-3
[all …]
Dmath_important_numbers.csv142 cos,-0x1.d2cec9a554007p-1,0x1.5bf0a8b145769p1,2.718281828459045
143 cos,-0x1.d2cec9a554007p-1,-0x1.5bf0a8b145769p1,-2.718281828459045
144 cos,0x1.0p0,0x0.0p0,0.0
145 cos,0x1.0p0,-0x0.0p0,-0.0
146 cos,0x1.14a280fb5068cp-1,0x1.0p0,1.0
147 cos,0x1.14a280fb5068cp-1,-0x1.0p0,-1.0
148 cos,0x1.c1528065b7d5p-1,-0x1.0p-1,-0.5
149 cos,0x1.c1528065b7d5p-1,0x1.0p-1,0.5
150 cos,0x1.0p0,-0x1.921fb54442d18p2,-6.283185307179586
151 cos,0x1.ee8dd4748bf13p-1,-0x1.815e630c155e1p2,-6.021385919380436
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherOutputStream1Test.java74 CipherOutputStream cos = new CipherOutputStream(tos){}; in testCipherOutputStream() local
75 cos.write(data); in testCipherOutputStream()
76 cos.flush(); in testCipherOutputStream()
90 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); in testWrite1() local
92 cos.write(data[i]); in testWrite1()
94 cos.flush(); in testWrite1()
108 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); in testWrite2() local
109 cos.write(data); in testWrite2()
110 cos.flush(); in testWrite2()
117 cos.write(null); in testWrite2()
[all …]
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherOutputStreamTest.java70 CipherOutputStream cos = new CipherOutputStream(new ByteArrayOutputStream(), cipher); in testDecryptCorruptGCM() local
72 cos.write(encrypted); in testDecryptCorruptGCM()
73 cos.close(); in testDecryptCorruptGCM()
/libcore/ojluni/src/main/native/
Djfdlibm.h42 #define cos jcos macro
Dfdlibm.h121 extern double cos __P((double));
DStrictMath.c160 NATIVE_METHOD(StrictMath, cos, "(D)D"),
/libcore/luni/src/test/java/libcore/java/lang/
DIntrinsicTest.java108 Math.cos(Math.PI); in testMath_cos()
DOldAndroidMathTest.java85 double r = Math.cos(Math.acos(ADJ / HYP)); in testAcosD()
195 assertEquals("Incorrect answer", 1.0, Math.cos(0), 0D); in testCosD()
196 assertEquals("Incorrect answer", 0.5403023058681398, Math.cos(1), 0D); in testCosD()
DOldAndroidStrictMathTest.java68 assertTrue("Returned incorrect arc cosine", StrictMath.cos(StrictMath in testAcosD()
143 assertTrue("Returned incorrect cosine", StrictMath.cos(StrictMath in testCosD()
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java134 public static native double cos(double a); in cos() method in StrictMath
DMath.java175 public static native double cos(double a); in cos() method in Math
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java135 StrictMath.cos(d); in timeCos()
DMathBenchmark.java149 result = Math.cos(d); in timeCos()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DMathTest.java79 double r = Math.cos(Math.acos(ADJ / HYP)); in test_acosD()
300 assertEquals("Incorrect answer", 1.0, Math.cos(0), 0D); in test_cosD()
301 assertEquals("Incorrect answer", 0.5403023058681398, Math.cos(1), 0D); in test_cosD()
DStrictMathTest.java91 assertTrue("Returned incorrect arc cosine", StrictMath.cos(StrictMath in test_acosD()
313 assertTrue("Returned incorrect cosine", StrictMath.cos(StrictMath in test_cosD()