Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/standard/tests/math/
H A Dsin_basic.phpt26 echo "sin 30 = ";
35 echo "sin 60 = ";
44 echo "sin 90 = ";
53 echo "sin 180 = ";
62 echo "sin 270 = ";
71 echo "sin 360 = ";
81 sin 30 = float(%f)
83 sin 60 = float(%f)
85 sin 90 = float(%f)
87 sin 180 = float(%f)
[all …]
H A Dsin_variation.phpt2 Test variations in usage of sin()
8 * proto float sin(float number)
13 //Test sin with a different input values
32 $res = sin($values[$i]);
48 Warning: sin() expects parameter 1 to be float, string given in %s on line %d
H A Dsin_basiclong_64bit.phpt2 Test sin function : 64bit long tests
24 var_dump(sin($longVal));
/PHP-7.4/ext/sockets/
H A Dsockaddr_conv.c85 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ in php_set_inet_addr() argument
91 sin->sin_addr.s_addr = tmp.s_addr; in php_set_inet_addr()
106 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.c1324 struct sockaddr_in *sin; local
1398 struct sockaddr_in *sin; local
1554 struct sockaddr_in sin = {0}; local
1561 sin.sin_family = AF_INET;
1784 struct sockaddr_in sin; local
1831 slen = sizeof(sin);
1832 memset(&sin, 0, slen);
1833 sin.sin_family = AF_INET;
1901 struct sockaddr_in sin; local
1938 memset(&sin, 0, sizeof(sin));
[all …]
/PHP-7.4/Zend/tests/
H A Dbug70804.phpt9 $foo = +(-sin(0));
H A Dbug52355.phpt9 $foo = -sin(0);
H A Dbug43343.phpt11 Parse error: %s error%sexpecting%sT_NS_SEPARATOR%sin %sbug43343.php on line 5
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-7.4/tests/lang/
H A Dbug21820.phpt13 Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%sin %sbug21820.php on line %d
/PHP-7.4/ext/standard/tests/general_functions/
H A Dparse_ini_string_002.phpt100 Warning: syntax error, unexpected '='%sin Unknown on line 2
104 Warning: syntax error, unexpected '='%sin Unknown on line 2
/PHP-7.4/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-7.4/ext/standard/
H A Dphp_math.h31 PHP_FUNCTION(sin);
/PHP-7.4/ext/mysqli/tests/
H A D010.phpt35 sin(0.6), 1.00000000000001, 888888888888888)");
/PHP-7.4/ext/standard/tests/strings/
H A Dchunk_split_variation4.phpt172 sin
/PHP-7.4/ext/gd/libgd/
H A Dgd_matrix.c201 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-7.4/ext/date/lib/
H A Dastro.c45 #define sind(x) sin((x)*DEGRAD)
/PHP-7.4/main/
H A Dnetwork.c988 struct sockaddr_in *sin = (struct sockaddr_in *) addr; local
989 sin->sin_family = AF_INET;
990 sin->sin_port = htons(port);
991 sin->sin_addr.s_addr = htonl(INADDR_ANY);

Completed in 57 milliseconds

12