Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 18 of 18) sorted by relevance

/php-src/ext/standard/tests/math/
H A Dcos_basic.phpt25 echo "cos 30 = ";
34 echo "cos 60 = ";
43 echo "cos 90 = ";
52 echo "cos 180 = ";
61 echo "cos 270 = ";
70 echo "cos 360 = ";
80 cos 30 = float(%f)
82 cos 60 = float(%f)
84 cos 90 = float(%f)
86 cos 180 = float(%f)
[all …]
H A Dcos_variation.phpt2 Test variations in usage of cos()
12 //Test cos with a different input values
28 $res = cos($values[$i]);
H A Dcos_basiclong_64bit.phpt2 Test cos function : 64bit long tests
26 var_dump(cos($longVal));
/php-src/Zend/tests/
H A Dbug42143.phpt11 var_dump(cos(-100) == "PHP String");
14 var_dump(sqrt(cos(M_PI)) == 0.1);
H A Dlist_keyed_non_literals.phpt16 $probablyNotCompileTimeResolvable3 = cos(0) * 3;
H A Dget_defined_functions_basic.phpt32 if (!in_array("cos", $internal) || !in_array("strlen", $internal)) {
/php-src/ext/standard/tests/general_functions/
H A Dget_extension_funcs_basic.phpt9 var_dump(in_array("cos", $result));
/php-src/ext/gd/tests/
H A Dbug43073.phpt41 $cos_t = cos(deg2rad($delta_t));
H A Dbug53504.phpt84 $test['x'] + (int)($width * cos(deg2rad($test['angle']))),
/php-src/ext/gd/libgd/
H A Dgd_matrix.c200 const double cos_t = cos (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()
314 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); in filter_blackman()
519 if ((x >= -1.0) && (x <= 1.0)) return ((cos(x * M_PI) + 1.0)/2.0); in filter_cosine()
576 return(0.5 + 0.5 * cos(M_PI * x)); in filter_hanning()
1609 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateNearestNeighbour()
1666 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateGeneric()
1733 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBilinear()
1848 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBicubicFixed()
H A Dgdft.c838 double cos_a = cos (angle);
H A Dgd.c1051 double ac = cos (atan2 (dy, dx)); in gdImageLine()
/php-src/ext/date/lib/
H A Dastro.c46 #define cosd(x) cos((x)*DEGRAD)
/php-src/ext/standard/
H A Dmath.c371 PHP_FUNCTION(cos) in PHP_FUNCTION() argument
378 RETURN_DOUBLE(cos(num)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php3147 function cos(float $num): float {}
H A Dbasic_functions_arginfo.h2755 ZEND_FUNCTION(cos);
/php-src/build/
H A Dlibtool.m42634 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2637 AC_CHECK_LIB(m, cos, LIBM="-lm")

Completed in 70 milliseconds