/external/v8/test/mjsunit/ |
H A D | sin-cos.js | 28 // Test Math.sin and Math.cos. 31 assertEquals(0, Math.sin(0)); 32 assertEquals(1, Math.sin(Math.PI / 2)); 46 assertTrue(Math.sin(x) != Math.cos(x)); 50 assertTrue(Math.sin(x) != Math.log(x));
|
H A D | transcendentals.js | 34 assertTrue(Math.sin(x) != Math.sin(y));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
H A D | 15.8.2.16.js | 24 ECMA Section: 15.8.2.16 sin( x ) 34 var TITLE = "Math.sin(x)"; 45 array[item++] = new TestCase( SECTION, "Math.sin.length", 1, Math.sin.length ); 47 array[item++] = new TestCase( SECTION, "Math.sin()", Number.NaN, Math.sin() ); 48 array[item++] = new TestCase( SECTION, "Math.sin(null)", 0, Math.sin(null) ); 49 array[item++] = new TestCase( SECTION, "Math.sin(void 0)", Number.NaN, Math.sin(voi [all...] |
/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/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
H A D | 3d-morph.js | 32 var sin = Math.sin 33 var f30 = -(50 * sin(f*Math.PI*2)) 37 a[3*(i*nx+j)+1] = sin((j-1) * PI2nx ) * -f30
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
H A D | 3d-morph.js | 32 var sin = Math.sin 33 var f30 = -(50 * sin(f*Math.PI*2)) 37 a[3*(i*nx+j)+1] = sin((j-1) * PI2nx ) * -f30
|
/external/eigen/unsupported/doc/examples/ |
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/stlport/src/ |
H A D | sincos.c | 42 *psin = sin(x); 54 *psin = sin(x);
|
H A D | complex_trig.cpp | 66 // sin 69 return complex<_Tp>(::sin(z._M_re) * ::cosh(z._M_im), 73 _STLP_DECLSPEC complex<float> _STLP_CALL sin(const complex<float>& z) function 76 _STLP_DECLSPEC complex<double> _STLP_CALL sin(const complex<double>& z) function 80 _STLP_DECLSPEC complex<long double> _STLP_CALL sin(const complex<long double>& z) function 89 -::sin(z._M_re) * ::sinh(z._M_im)); 114 return complex<_Tp>(::sin(re2) / den, ::sinh(im2) / den); 134 ::cosh(z._M_re) * ::sin(z._M_im)); 153 ::sinh(z._M_re) * ::sin(z._M_im)); 177 return complex<_Tp>(::sinh(re2) / den, ::sin(im [all...] |
/external/quake/quake/src/QW/qwfwd/ |
H A D | qwfwd.c | 69 struct sockaddr_in sin;
member in struct:peer 109 struct sockaddr_in sin;
local 112 memset(&sin, 0, sizeof(sin));
113 sin.sin_family = AF_INET;
117 sin.sin_port = pse->s_port;
118 else if((sin.sin_port = htons((u_short)atoi(service))) == 0)
126 memcpy((char *)&sin.sin_addr, phe->h_addr, phe->h_length);
127 else if((sin.sin_addr.s_addr = inet_addr(host)) == INADDR_NONE)
155 if(connect(s, (struct sockaddr *)&sin, sizeo [all...] |
/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/robolectric/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/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/webkit/Source/JavaScriptCore/wtf/ |
H A D | Complex.h | 41 return Complex(magnitude * cos(phase), magnitude * sin(phase));
|
/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/libvorbis/test/ |
H A D | util.c | 38 { data [k] = sin (2.0 * k * M_PI * 1.0 / 32.0 + 0.4) ;
|
/external/stlport/stlport/stl/config/ |
H A D | _como.h | 88 # define sinl sin 111 # define sinf sin 112 # define sinl sin 162 # define sinl sin
|
/external/ceres-solver/internal/ceres/ |
H A D | jet_test.cc | 109 { // Check that cos(2*x) = cos(x)^2 - sin(x)^2 111 J w = cos(x)*cos(x) - sin(x)*sin(x); 117 { // Check that sin(2*x) = 2*cos(x)*sin(x) 118 J z = sin(J(2.0) * x); 119 J w = J(2.0)*cos(x)*sin(x); 125 { // Check that cos(x)*cos(x) + sin(x)*sin(x) = 1 127 J w = sin( [all...] |
/external/eigen/demos/opengl/ |
H A D | trackball.cpp | 47 double sinx = sin(M_PI * x * 0.5); 48 double siny = sin(M_PI * y * 0.5);
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | http_server.c | 233 struct sockaddr_in sin; local 252 os_memset(&sin, 0, sizeof(sin)); 253 sin.sin_family = AF_INET; 254 sin.sin_addr.s_addr = addr->s_addr; 257 sin.sin_port = htons(srv->port); 258 if (bind(srv->fd, (struct sockaddr *) &sin, sizeof(sin)) == 0)
|
/external/wpa_supplicant_8/src/wps/ |
H A D | http_server.c | 233 struct sockaddr_in sin; local 252 os_memset(&sin, 0, sizeof(sin)); 253 sin.sin_family = AF_INET; 254 sin.sin_addr.s_addr = addr->s_addr; 257 sin.sin_port = htons(srv->port); 258 if (bind(srv->fd, (struct sockaddr *) &sin, sizeof(sin)) == 0)
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | http_server.c | 233 struct sockaddr_in sin; local 252 os_memset(&sin, 0, sizeof(sin)); 253 sin.sin_family = AF_INET; 254 sin.sin_addr.s_addr = addr->s_addr; 257 sin.sin_port = htons(srv->port); 258 if (bind(srv->fd, (struct sockaddr *) &sin, sizeof(sin)) == 0)
|
/external/dhcpcd/ |
H A D | if-bsd.c | 71 #define COPYOUT(sin, sa) \ 72 sin.s_addr = ((sa) != NULL) ? \ 161 struct sockaddr_in *sin; member in union:__anon5175 169 _s.sin->sin_family = AF_INET; \ 170 _s.sin->sin_len = sizeof(*_s.sin); \ 171 memcpy(&_s.sin->sin_addr, _addr, sizeof(_s.sin->sin_addr)); \ 194 struct sockaddr_in sin; member in union:sockunion 217 su.sin [all...] |