/bionic/libm/x86/ |
s_cos.S | 79 // sigma closest power of 2 to cos(B) 80 // C_hl 53-bit cos(B) - sigma 86 // r * (cos(B) - sigma) + 87 // sin(B) * [cos(r + c) - 1] + 88 // cos(B) * [sin(r + c) - r] 94 // S_lo + S_hi * [(cos(r) - 1) - r * c] + 106 // pols = S_hi * (cos(r) - 1) + (C_hl + sigma) * (sin(r) - r) 111 // The polynomial S_hi * (cos(r) - 1) + (C_hl + sigma) * 168 // cos(NaN) = quiet NaN, and raise invalid exception 169 // cos(INF) = NaN and raise invalid exceptio 191 ENTRY(cos) function [all...] |
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_cos.c | 16 /* cos(x) 25 * Let S,C and T denote the sin, cos and tan respectively on 30 * n sin(x) cos(x) tan(x) 39 * Let trig be any of sin, cos, or tan. 55 cos(double x) function 71 /* cos(Inf or NaN) is NaN */ 88 __weak_reference(cos, cosl);
|
/device/google/contexthub/lib/libm/ |
sf_cos.c | 40 /* cos(Inf or NaN) is NaN */ 59 double cos(double x) function 61 double cos(x)
|
/prebuilts/go/darwin-x86/src/math/ |
sin.go | 47 // cos.c 53 // double x, y, cos(); 54 // y = cos( x ); 102 // cos coefficients 112 // Cos returns the cosine of the radian argument x. 115 // Cos(ħInf) = NaN 116 // Cos(NaN) = NaN 117 func Cos(x float64) float64 119 func cos(x float64) float64 { func
|
/prebuilts/go/linux-x86/src/math/ |
sin.go | 47 // cos.c 53 // double x, y, cos(); 54 // y = cos( x ); 102 // cos coefficients 112 // Cos returns the cosine of the radian argument x. 115 // Cos(ħInf) = NaN 116 // Cos(NaN) = NaN 117 func Cos(x float64) float64 119 func cos(x float64) float64 { func
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
CipherOutputStreamTest.java | 57 CipherOutputStream cos = new CipherOutputStream(tos); local 58 cos.write(data); 59 cos.flush(); 73 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 75 cos.write(data[i]); 77 cos.flush(); 91 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 92 cos.write(data); 93 cos.flush(); 106 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()) local 149 CipherOutputStream cos = new CipherOutputStream(tos); local 165 CipherOutputStream cos = new CipherOutputStream(tos); local [all...] |
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
StemFunction.h | 30 static Scalar cos(Scalar x, int n) function in class:Eigen::StdStemFunctions 35 res = std::cos(x); 41 res = -std::cos(x); 59 res = std::cos(x); 65 res = -std::cos(x);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFloatMath.java | 42 public static float cos(float angle) { method in class:ShadowFloatMath 43 return (float) Math.cos(angle);
|
/bionic/libm/x86_64/ |
s_cos.S | 79 // sigma closest power of 2 to cos(B) 80 // C_hl 53-bit cos(B) - sigma 86 // r * (cos(B) - sigma) + 87 // sin(B) * [cos(r + c) - 1] + 88 // cos(B) * [sin(r + c) - r] 94 // S_lo + S_hi * [(cos(r) - 1) - r * c] + 106 // pols = S_hi * (cos(r) - 1) + (C_hl + sigma) * (sin(r) - r) 111 // The polynomial S_hi * (cos(r) - 1) + (C_hl + sigma) * 168 // cos(NaN) = quiet NaN, and raise invalid exception 169 // cos(INF) = NaN and raise invalid exceptio 176 ENTRY(cos) function [all...] |
/external/eigen/Eigen/src/plugins/ |
ArrayCwiseUnaryOps.h | 34 * \sa pow(), log(), sin(), cos() 76 cos() const function 87 * \sa cos(), asin() 100 * \sa cos(), asin() 126 * \sa cos(), sin()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/java/lang/ |
StrictMath.java | 43 public static double cos(double a){ method in class:StrictMath 44 return Math.cos(a);
|
/frameworks/base/core/java/android/util/ |
FloatMath.java | 80 public static float cos(float angle) { method in class:FloatMath 81 return (float) Math.cos(angle);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherOutputStream1Test.java | 67 CipherOutputStream cos = new CipherOutputStream(tos){}; local 68 cos.write(data); 69 cos.flush(); 83 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 85 cos.write(data[i]); 87 cos.flush(); 101 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 102 cos.write(data); 103 cos.flush(); 110 cos.write(null) 123 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher()); local 166 CipherOutputStream cos = new CipherOutputStream(tos){}; local 182 CipherOutputStream cos = new CipherOutputStream(tos){}; local 204 CipherOutputStream cos = new CipherOutputStream(baos, c); local [all...] |
/art/compiler/linker/ |
output_stream_test.cc | 128 std::unique_ptr<CheckingOutputStream> cos = MakeUnique<CheckingOutputStream>(); local 129 CheckingOutputStream* checking_output_stream = cos.get(); 130 BufferedOutputStream buffered(std::move(cos));
|
/external/v8/test/mjsunit/ |
sin-cos.js | 28 // Test Math.sin and Math.cos. 33 assertEquals(1, Math.cos(-0)); 38 return Math.sin(x) + Math.cos(x) + Math.tan(x); 54 assertEquals(1, Math.cos(0)); 55 assertEquals(-1, Math.cos(Math.PI)); 64 assertTrue(Math.sin(x) != Math.cos(x)); 99 function cos(x) { function 137 var err_cos = abs_error(Math.cos, cos, x) 155 assertEquals(-1, Math.cos({ valueOf: function() { return Math.PI; } })) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
Point.java | 76 float cos = Math.min(1.0f, Math.max(-1.0f, dotProduct / dist1 / dist2)); local 77 float angle = (float) Math.acos(cos);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
Layer.java | 53 float cos = (float)Math.cos(angle); local 58 m[1][1] = cos; 61 m[2][2] = cos; 66 m[0][0] = cos; 69 m[2][2] = cos; 74 m[0][0] = cos; 77 m[1][1] = cos;
|
/external/eigen/Eigen/src/Eigen2Support/ |
CwiseOperators.h | 100 /** \deprecated ArrayBase::cos() */ 103 Cwise<ExpressionType>::cos() const function in class:Eigen::Cwise
|
/external/opencv3/3rdparty/openexr/Imath/ |
ImathMath.h | 97 static T cos (T x) {return ::cos (double(x));} function in struct:Imath::Math 130 static float cos (float x) {return ::cosf (x);} function in struct:Imath::Math
|
/external/skia/gm/ |
anisotropic.cpp | 43 SkScalar angle = 0.0f, sin, cos; variable 47 sin = SkScalarSinCos(angle, &cos); 48 canvas.drawLine(cos * kInnerOffset, sin * kInnerOffset, 49 cos * kImageSize/2, sin * kImageSize/2, p);
|
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/ |
mlmath.h | 60 #define cos(x) ml_cos(x) macro
|
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
mlmath.h | 60 #define cos(x) ml_cos(x) macro
|
/ndk/sources/cxx-stl/stlport/src/ |
complex_trig.cpp | 70 ::cos(z._M_re) * ::sinh(z._M_im)); 85 // cos 88 return complex<_Tp>(::cos(z._M_re) * ::cosh(z._M_im), 92 _STLP_DECLSPEC complex<float> _STLP_CALL cos(const complex<float>& z) function 95 _STLP_DECLSPEC complex<double> _STLP_CALL cos(const complex<double>& z) function 99 _STLP_DECLSPEC complex<long double> _STLP_CALL cos(const complex<long double>& z) function 113 _Tp den = ::cos(re2) + ::cosh(im2); 133 return complex<_Tp>(::sinh(z._M_re) * ::cos(z._M_im), 152 return complex<_Tp>(::cosh(z._M_re) * ::cos(z._M_im), 176 _Tp den = ::cosh(re2) + ::cos(im2) [all...] |
/external/crcalc/tests/src/com/hp/creals/ |
CRTest.java | 123 check_eq(cosine.execute(one), one.cos(), "monotoneDerivative failed"); 124 check_eq(cosine.execute(three), three.cos(), 127 check_eq(acos.execute(one.cos()), one, "acos(cos(1) failed"); 144 check_appr_eq(Math.cos(n), CR.valueOf(n).cos().doubleValue(), 145 "cos failed at " + n); 159 check_appr_eq(Math.cos(12345678.0), 160 CR.valueOf(12345678).cos().doubleValue(), 161 "cos failed at " + 12345678) [all...] |
/cts/tests/openglperf2/test/ |
MatrixTest.cpp | 219 float cos = cosf(radians); local 221 cos, 0.0f, -sin, 0.0f, 223 sin, 0.0f, cos, 0.0f,
|