Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 25 of 29) sorted by relevance

12

/php-src/ext/standard/tests/math/
H A Dsin_basic.phpt25 echo "sin 30 = ";
34 echo "sin 60 = ";
43 echo "sin 90 = ";
52 echo "sin 180 = ";
61 echo "sin 270 = ";
70 echo "sin 360 = ";
80 sin 30 = float(%f)
82 sin 60 = float(%f)
84 sin 90 = float(%f)
86 sin 180 = float(%f)
[all …]
H A Dsin_variation.phpt2 Test variations in usage of sin()
12 //Test sin with a different input values
28 $res = sin($values[$i]);
H A Dsin_basiclong_64bit.phpt2 Test sin function : 64bit long tests
26 var_dump(sin($longVal));
/php-src/Zend/tests/
H A Dbug75290.phpt6 var_dump((new ReflectionFunction('sin'))->getClosure());
14 string(3) "sin"
H A Dbug70804.phpt9 $foo = +(-sin(0));
H A Dbug52355.phpt9 $foo = -sin(0);
H A Dbug69599.phpt7 sin(...[0]);
H A Dbug38779.phpt36 Parse error: %s error%sin Loader://qqq.php on line %d
H A Dbug38779_1.phpt52 Parse error: %s error%sin %s on line %d
/php-src/ext/sockets/
H A Dsockaddr_conv.c87 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ in php_set_inet_addr() argument
93 sin->sin_addr.s_addr = tmp.s_addr; in php_set_inet_addr()
108 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length); in php_set_inet_addr()
H A Dsockaddr_conv.h24 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock);
H A Dsockets.c962 struct sockaddr_in *sin; local
1033 struct sockaddr_in *sin; local
1199 struct sockaddr_in sin = {0}; local
1206 sin.sin_family = AF_INET;
1433 struct sockaddr_in sin; local
1487 slen = sizeof(sin);
1488 memset(&sin, 0, slen);
1489 sin.sin_family = AF_INET;
1556 struct sockaddr_in sin; local
1599 memset(&sin, 0, sizeof(sin));
[all …]
/php-src/tests/lang/
H A Dbug21820.phpt13 Parse error: %s error, %sidentifier%svariable%snumber%sin %sbug21820.php on line %d
/php-src/ext/standard/tests/general_functions/
H A Dparse_ini_string_002.phpt92 Warning: syntax error, unexpected '='%sin Unknown on line 2
96 Warning: syntax error, unexpected '='%sin Unknown on line 2
/php-src/ext/mysqli/tests/bind_fetch/
H A Dfloat_types.phpt36 … VALUES (3.1415926535,-0.000001, -5, 999999999999, sin(0.6), 1.00000000000001, 888888888888888)");
/php-src/ext/gd/tests/
H A Dbug43073.phpt42 $sin_t = sin(deg2rad($delta_t));
H A Dbug53504.phpt85 $test['y'] - (int)($width * sin(deg2rad($test['angle']))), $blue);
/php-src/ext/gd/libgd/
H A Dgd_matrix.c199 const double sin_t = sin (angle * M_PI / 180.0); in gdAffineRotate()
H A Dgd_interpolation.c297 …q = (double)sqrt(2.0f/(M_PI*x))*(double)(KernelBessel_P1(x)*(1.0f/sqrt(2.0f)*(sin(x)-cos(x)))-8.0f… in KernelBessel_Order1()
298 (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); in KernelBessel_Order1()
434 return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI); in filter_lanczos8()
452 return R * sin(x*M_PI) * sin(x * M_PI / R) / (x * M_PI * x * M_PI); in filter_lanczos3()
604 return (sin(M_PI * (double) x) / (M_PI * (double) x)); in filter_sinc()
1640 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateNearestNeighbour()
1697 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateGeneric()
1764 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBilinear()
1879 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBicubicFixed()
H A Dgdft.c837 double sin_a = sin (angle);
1202 double d1 = sin (angle + 0.78539816339744830962);
1203 double d2 = sin (angle - 0.78539816339744830962);
/php-src/ext/standard/tests/strings/
H A Dchunk_split_variation4.phpt166 sin
/php-src/ext/date/lib/
H A Dastro.c45 #define sind(x) sin((x)*DEGRAD)
/php-src/main/
H A Dnetwork.c1007 struct sockaddr_in *sin = (struct sockaddr_in *) addr; in php_any_addr() local
1008 sin->sin_family = AF_INET; in php_any_addr()
1009 sin->sin_port = htons(port); in php_any_addr()
1010 sin->sin_addr.s_addr = htonl(INADDR_ANY); in php_any_addr()
/php-src/ext/ftp/
H A Dftp.c800 struct sockaddr_in *sin; in ftp_pasv() local
872 sin = (struct sockaddr_in *) sa; in ftp_pasv()
874 sin->sin_addr = ipbox.ia[0]; in ftp_pasv()
876 sin->sin_port = ipbox.s[2]; in ftp_pasv()
/php-src/ext/standard/
H A Dmath.c393 PHP_FUNCTION(sin) in PHP_FUNCTION() argument
400 RETURN_DOUBLE(sin(num)); in PHP_FUNCTION()

Completed in 112 milliseconds

12