Home
last modified time | relevance | path

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

12

/PHP-8.0/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
29 $res = sin($values[$i]);
H A Dsin_basiclong_64bit.phpt2 Test sin function : 64bit long tests
26 var_dump(sin($longVal));
/PHP-8.0/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.c1086 struct sockaddr_in *sin; local
1158 struct sockaddr_in *sin; local
1311 struct sockaddr_in sin = {0}; local
1318 sin.sin_family = AF_INET;
1531 struct sockaddr_in sin; local
1578 slen = sizeof(sin);
1579 memset(&sin, 0, slen);
1580 sin.sin_family = AF_INET;
1647 struct sockaddr_in sin; local
1684 memset(&sin, 0, sizeof(sin));
[all …]
/PHP-8.0/Zend/tests/
H A Dbug70804.phpt9 $foo = +(-sin(0));
H A Dbug52355.phpt9 $foo = -sin(0);
H A Dbug75290.phpt6 var_dump((new ReflectionFunction('sin'))->getClosure());
H A Dbug69599.phpt7 sin(...[0]);
H A Dbug38779.phpt35 Parse error: %s error%sin Loader://qqq.php on line %d
H A Dbug38779_1.phpt51 Parse error: %s error%sin %s on line %d
/PHP-8.0/tests/lang/
H A Dbug21820.phpt13 Parse error: %s error, %sidentifier%svariable%snumber%sin %sbug21820.php on line %d
/PHP-8.0/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-8.0/ext/gd/tests/
H A Dbug43073.phpt38 $sin_t = sin(deg2rad($delta_t));
H A Dbug53504.phpt81 $test['y'] - $width * sin(deg2rad($test['angle'])), $blue);
/PHP-8.0/ext/mysqli/tests/
H A D010.phpt35 sin(0.6), 1.00000000000001, 888888888888888)");
/PHP-8.0/ext/gd/libgd/
H A Dgd_matrix.c199 const double sin_t = sin (angle * M_PI / 180.0); in gdAffineRotate()
H A Dgd_interpolation.c308 …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()
309 (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); in KernelBessel_Order1()
445 return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI); in filter_lanczos8()
463 return R * sin(x*M_PI) * sin(x * M_PI / R) / (x * M_PI * x * M_PI); in filter_lanczos3()
615 return (sin(M_PI * (double) x) / (M_PI * (double) x)); in filter_sinc()
1621 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateNearestNeighbour()
1678 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateGeneric()
1745 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBilinear()
1860 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBicubicFixed()
H A Dgdft.c827 double sin_a = sin (angle);
1192 double d1 = sin (angle + 0.78539816339744830962);
1193 double d2 = sin (angle - 0.78539816339744830962);
/PHP-8.0/ext/standard/tests/strings/
H A Dchunk_split_variation4.phpt166 sin
/PHP-8.0/ext/date/lib/
H A Dastro.c45 #define sind(x) sin((x)*DEGRAD)
/PHP-8.0/main/
H A Dnetwork.c984 struct sockaddr_in *sin = (struct sockaddr_in *) addr; local
985 sin->sin_family = AF_INET;
986 sin->sin_port = htons(port);
987 sin->sin_addr.s_addr = htonl(INADDR_ANY);
/PHP-8.0/ext/standard/
H A Dmath.c317 PHP_FUNCTION(sin) in PHP_FUNCTION() argument
324 RETURN_DOUBLE(sin(num)); in PHP_FUNCTION()
/PHP-8.0/ext/ftp/
H A Dftp.c780 struct sockaddr_in *sin; in ftp_pasv() local
852 sin = (struct sockaddr_in *) sa; in ftp_pasv()
854 sin->sin_addr = ipbox.ia[0]; in ftp_pasv()
856 sin->sin_port = ipbox.s[2]; in ftp_pasv()

Completed in 62 milliseconds

12