Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/math/
H A Dcos_basic.phpt26 echo "cos 30 = ";
35 echo "cos 60 = ";
44 echo "cos 90 = ";
53 echo "cos 180 = ";
62 echo "cos 270 = ";
71 echo "cos 360 = ";
81 cos 30 = float(%f)
83 cos 60 = float(%f)
85 cos 90 = float(%f)
87 cos 180 = float(%f)
[all …]
H A Dcos_variation.phpt2 Test variations in usage of cos()
8 * proto float cos(float number)
13 //Test cos with a different input values
32 $res = cos($values[$i]);
48 Warning: cos() expects parameter 1 to be float, string given in %s on line %d
H A Dcos_basiclong_64bit.phpt2 Test cos function : 64bit long tests
24 var_dump(cos($longVal));
/PHP-7.4/Zend/tests/
H A Dbug54585.phpt8 unset($source[$cos]);
16 Notice: Undefined variable: cos in %sbug54585.php on line 3
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.phpt37 if (!in_array("cos", $internal) || !in_array("strlen", $internal)) {
/PHP-7.4/ext/standard/tests/general_functions/
H A Dget_extension_funcs_basic.phpt15 var_dump(in_array("cos", $result));
/PHP-7.4/ext/gd/tests/
H A Dbug43073.phpt37 $cos_t = cos(deg2rad($delta_t));
H A Dbug53504.phpt80 $test['x'] + $width * cos(deg2rad($test['angle'])),
/PHP-7.4/ext/standard/
H A Dphp_math.h32 PHP_FUNCTION(cos);
H A Dmath.c419 PHP_FUNCTION(cos) in PHP_FUNCTION() argument
426 RETURN_DOUBLE(cos(num)); in PHP_FUNCTION()
H A Dbasic_functions.c2936 PHP_FE(cos, arginfo_cos)
/PHP-7.4/ext/gd/libgd/
H A Dgd_matrix.c202 const double cos_t = cos (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()
325 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); in filter_blackman()
530 if ((x >= -1.0) && (x <= 1.0)) return ((cos(x * M_PI) + 1.0)/2.0); in filter_cosine()
587 return(0.5 + 0.5 * cos(M_PI * x)); in filter_hanning()
1620 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateNearestNeighbour()
1677 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateGeneric()
1744 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBilinear()
1859 const gdFixed f_cos = gd_ftofx(cos(-_angle)); in gdImageRotateBicubicFixed()
H A Dgdft.c828 double cos_a = cos (angle);
H A Dgd.c1081 double ac = cos (atan2 (dy, dx)); in gdImageLine()
/PHP-7.4/ext/date/lib/
H A Dastro.c46 #define cosd(x) cos((x)*DEGRAD)
/PHP-7.4/build/
H A Dlibtool.m42623 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2626 AC_CHECK_LIB(m, cos, LIBM="-lm")

Completed in 80 milliseconds