/external/eigen/doc/snippets/ |
H A D | Cwise_sin.cpp | 2 cout << v.sin() << endl;
|
H A D | Tutorial_AdvancedInitialization_LinSpaced.cpp | 4 table.col(2) = table.col(1).sin();
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-2234.js | 32 Math.sin(i / 1779 * Math.PI); 35 assertEquals(0, Math.sin(0));
|
H A D | regress-370384.js | 16 g(Math.sin, 6.283185307179586, "Math.sin");
|
H A D | regress-transcendental.js | 48 test(Math.sin, 6.283185307179586, "Math.sin");
|
/external/v8/test/mjsunit/ |
H A D | sin-cos.js | 28 // Test Math.sin and Math.cos. 32 assertEquals("-Infinity", String(1/Math.sin(-0))); 38 return Math.sin(x) + Math.cos(x) + Math.tan(x); 49 assertEquals(0, Math.sin(0)); 50 assertEquals(1, Math.sin(Math.PI / 2)); 64 assertTrue(Math.sin(x) != Math.cos(x)); 68 assertTrue(Math.sin(x) != Math.log(x)); 87 function sin(x) { function 136 var err_sin = abs_error(Math.sin, sin, [all...] |
H A D | transcendentals.js | 34 assertTrue(Math.sin(x) != Math.sin(y));
|
/external/libcxx/test/std/depr/depr.c.headers/ |
H A D | tgmath_h.pass.cpp | 21 double x = sin(1.0);
|
/external/libcxx/test/std/numerics/c.math/ |
H A D | ctgmath.pass.cpp | 21 double x = std::sin(0);
|
/external/eigen/unsupported/doc/examples/ |
H A D | MatrixPower.cpp | 10 A << cos(1), -sin(1), 0, 11 sin(1), cos(1), 0,
|
H A D | MatrixSquareRoot.cpp | 11 A << cos(pi/3), -sin(pi/3), 12 sin(pi/3), cos(pi/3);
|
H A D | MatrixSine.cpp | 11 MatrixXd sinA = A.sin(); 12 std::cout << "sin(A) = \n" << sinA << "\n\n"; 17 // The matrix functions satisfy sin^2(A) + cos^2(A) = I, 19 std::cout << "sin^2(A) + cos^2(A) = \n" << sinA*sinA + cosA*cosA << "\n\n";
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
H A D | StemFunction.h | 38 res = -std::sin(x); 44 res = std::sin(x); 51 static Scalar sin(Scalar x, int n) function in class:Eigen::StdStemFunctions 56 res = std::sin(x); 62 res = -std::sin(x);
|
/external/chromium-trace/catapult/experimental/heatmap/ |
H A D | color.js | 10 var r = Math.sin(Math.PI * h); 11 var g = Math.sin(Math.PI * (h + 1/3)); 12 var b = Math.sin(Math.PI * (h + 2/3));
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fakes/ |
H A D | fake_media_process.h | 27 sin(2.0 * 3.14 * frequency * 400.0 / sampling_freq_hz)); 31 audio_10ms[2 * i] * sin(2.0 * 3.14 * 34 audio_10ms[2 * i + 1] * sin(2.0 * 3.14 *
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/java/lang/ |
H A D | StrictMath.java | 59 public static double sin(double a){ method in class:StrictMath 60 return Math.sin(a);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowFloatMath.java | 37 public static float sin(float angle) { method in class:ShadowFloatMath 38 return (float) Math.sin(angle);
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
H A D | Affine2.java | 156 float sin = MathUtils.sinDeg(degrees); 159 m01 = -sin; 161 m10 = sin; 172 float sin = MathUtils.sin(radians); 175 m01 = -sin; 177 m10 = sin; 185 * @param sin The angle sine. 187 public Affine2 setToRotation (float cos, float sin) { argument 189 m01 = -sin; [all...] |
/external/compiler-rt/test/cfi/icall/ |
H A D | external-call.c | 19 fn = sin;
|
/external/proguard/src/proguard/gui/splash/ |
H A D | SineTiming.java | 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period);
|
/external/skia/experimental/SkV8Example/js/ |
H A D | speed.js | 9 canvas.fillRect(100, 100, Math.sin(tick)*100, Math.cos(tick)*100);
|
/external/v8/test/webkit/ |
H A D | property-iteration.js | 36 // Assigning to 'Math.sin' should not change iteration order of properties. 38 Math.sin = 42;
|
/external/v8/test/unittests/base/ |
H A D | ieee754-unittest.cc | 249 EXPECT_THAT(sin(std::numeric_limits<double>::quiet_NaN()), IsNaN()); 250 EXPECT_THAT(sin(std::numeric_limits<double>::signaling_NaN()), IsNaN()); 251 EXPECT_THAT(sin(std::numeric_limits<double>::infinity()), IsNaN()); 252 EXPECT_THAT(sin(-std::numeric_limits<double>::infinity()), IsNaN()); 254 // Tests for sin for |x| < pi/4 255 EXPECT_EQ(-std::numeric_limits<double>::infinity(), 1 / sin(-0.0)); 256 EXPECT_EQ(std::numeric_limits<double>::infinity(), 1 / sin(0.0)); 257 // sin(x) = x for x < 2^-27 258 EXPECT_EQ(2.3283064365386963e-10, sin(2.3283064365386963e-10)); 259 EXPECT_EQ(-2.3283064365386963e-10, sin( [all...] |
/external/clang/test/Sema/ |
H A D | warn-shadow.c | 19 int sin; // okay; 'sin' has not been declared, even though it's a builtin. local
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/equations/ |
H A D | Elastic.java | 22 return -(a*(float)Math.pow(2,10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p )); 40 return a*(float)Math.pow(2,-10*t) * (float)Math.sin( (t-s)*(2*PI)/p ) + 1; 58 if (t < 1) return -.5f*(a*(float)Math.pow(2,10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p )); 59 return a*(float)Math.pow(2,-10*(t-=1)) * (float)Math.sin( (t-s)*(2*PI)/p )*.5f + 1;
|