Searched refs:cos (Results 1 - 14 of 14) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | CipherOutputStream1Test.java | 67 CipherOutputStream cos = new CipherOutputStream(tos){}; 68 cos.write(data); 69 cos.flush(); 83 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); 85 cos.write(data[i]); 87 cos.flush(); 101 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); 102 cos.write(data); 103 cos.flush(); 110 cos [all...] |
/libcore/ojluni/src/main/native/ |
H A D | jfdlibm.h | 42 #define cos jcos macro
|
H A D | Math.c | 32 return cos(d); 154 NATIVE_METHOD(Math, cos, "!(D)D"),
|
H A D | fdlibm.h | 121 extern double cos __P((double));
|
H A D | StrictMath.c | 160 NATIVE_METHOD(StrictMath, cos, "(D)D"),
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | IntrinsicTest.java | 108 Math.cos(Math.PI); 109 Math.class.getMethod("cos", double.class).invoke(null, Math.PI);
|
H A D | OldAndroidMathTest.java | 83 double r = Math.cos(Math.acos(ADJ / HYP)); 154 // Test for method double java.lang.Math.cos(double) 155 assertEquals("Incorrect answer", 1.0, Math.cos(0), 0D); 156 assertEquals("Incorrect answer", 0.5403023058681398, Math.cos(1), 0D);
|
H A D | OldAndroidStrictMathTest.java | 68 assertTrue("Returned incorrect arc cosine", StrictMath.cos(StrictMath 141 // Test for method double java.lang.StrictMath.cos(double) 143 assertTrue("Returned incorrect cosine", StrictMath.cos(StrictMath
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | StrictMath.java | 53 * semantics are {@code sin}, {@code cos}, {@code tan}, 105 public static native double cos(double a); method in class:StrictMath 172 * <i>not</i> expect {@code cos(toRadians(90.0))} to exactly
|
H A D | Math.java | 135 public static native double cos(double a); method in class:Math 215 * <i>not</i> expect {@code cos(toRadians(90.0))} to exactly
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | StrictMathBenchmark.java | 135 StrictMath.cos(d);
|
H A D | MathBenchmark.java | 149 result = Math.cos(d);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | MathTest.java | 79 double r = Math.cos(Math.acos(ADJ / HYP)); 296 * java.lang.Math#cos(double) 299 // Test for method double java.lang.Math.cos(double) 300 assertEquals("Incorrect answer", 1.0, Math.cos(0), 0D); 301 assertEquals("Incorrect answer", 0.5403023058681398, Math.cos(1), 0D);
|
H A D | StrictMathTest.java | 91 assertTrue("Returned incorrect arc cosine", StrictMath.cos(StrictMath 308 * java.lang.StrictMath#cos(double) 311 // Test for method double java.lang.StrictMath.cos(double) 313 assertTrue("Returned incorrect cosine", StrictMath.cos(StrictMath
|
Completed in 104 milliseconds