Home
last modified time | relevance | path

Searched refs:M_PI (Results 1 – 25 of 27) sorted by relevance

12

/PHP-8.1/ext/standard/tests/general_functions/
H A Dbug52138.data4 [M_PI]
5 FOO=M_PI " test"
11 [MYCONST M_PI]
H A Dbug52138.phpt22 ["M_PI"]=>
34 ["MYCONST M_PI"]=>
/PHP-8.1/ext/standard/tests/math/
H A Dsin_basic.phpt17 $sixty = M_PI / 3.0;
18 $thirty = M_PI / 6.0;
19 $ninety = M_PI /2.0;
20 $oneeighty = M_PI;
21 $twoseventy = M_PI * 1.5;
22 $threesixty = M_PI * 2.0;
H A Dcos_basic.phpt17 $sixty = M_PI / 3.0;
18 $thirty = M_PI / 6.0;
19 $ninety = M_PI /2.0;
20 $oneeighty = M_PI;
21 $twoseventy = M_PI * 1.5;
22 $threesixty = M_PI * 2.0;
H A Dacos_basic.phpt18 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI );
28 $acosv2 = 360.0 * acos(0.86602540378444) / (2.0 * M_PI );
39 $acosv3 = 360.0 * acos(1.0) / (2.0 * M_PI);
50 $acosv4 = 360.0 * acos(0.0) / (2.0 * M_PI );
H A Dasin_basic.phpt18 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
28 $asinv2 = 360.0 * asin(0.86602540378444) / (2.0 * M_PI );
38 $asinv3 = 360.0 * asin(1.0) / (2.0 * M_PI );
49 $asinv4 = 360.0 * asin(0.0) / (2.0 * M_PI );
H A Dconstants_basic.phpt17 echo "M_PI= ";
18 var_dump(M_PI);
52 M_PI= float(3.141592653589793)
H A Dconstants.phpt13 "M_PI",
36 M_PI : 3.141592[0-9]*
H A Datan_basic.phpt15 $atan1 = 360 * atan(1.7320508075689) / (2.0 * M_PI);
25 $atan2 = 360 * atan(0.57735026918963) / (2.0 * M_PI);
H A Dtan_basic.phpt14 $sixty = M_PI / 3.0;
15 $thirty = M_PI / 6.0;
H A Dpi_basic.phpt8 echo M_PI, "\n";
/PHP-8.1/ext/gd/libgd/
H A Dgd_matrix.c4 #ifndef M_PI
5 # define M_PI 3.14159265358979323846 macro
199 const double sin_t = sin (angle * M_PI / 180.0); in gdAffineRotate()
200 const double cos_t = cos (angle * M_PI / 180.0); in gdAffineRotate()
226 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
247 dst[1] = tan(angle * M_PI / 180.0); in gdAffineShearVertical()
H A Dgd_interpolation.c317 return (double)(M_PI/4.0f); in filter_bessel()
318 return (KernelBessel_Order1((double)M_PI*x)/(2.0f*x)); in filter_bessel()
324 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); in filter_blackman()
444 return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI); in filter_lanczos8()
462 return R * sin(x*M_PI) * sin(x * M_PI / R) / (x * M_PI * x * M_PI); in filter_lanczos3()
586 return(0.5 + 0.5 * cos(M_PI * x)); in filter_hanning()
614 return (sin(M_PI * (double) x) / (M_PI * (double) x)); in filter_sinc()
1613 float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); in gdImageRotateNearestNeighbour()
1670 float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); in gdImageRotateGeneric()
1736 float _angle = (float)((- degrees / 180.0f) * M_PI); in gdImageRotateBilinear()
[all …]
/PHP-8.1/ext/standard/
H A Dphp_math.h51 #ifndef M_PI
52 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dmath.c474 RETURN_DOUBLE(M_PI); in PHP_FUNCTION()
651 RETURN_DOUBLE((deg / 180.0) * M_PI); in PHP_FUNCTION()
664 RETURN_DOUBLE((rad / M_PI) * 180); in PHP_FUNCTION()
H A Dbasic_functions.c332 REGISTER_MATH_CONSTANT(M_PI); in PHP_MINIT_FUNCTION()
/PHP-8.1/Zend/tests/
H A Ddeclare_004.phpt10 declare(encoding = M_PI);
H A Ddeclare_003.phpt11 declare(encoding = M_PI);
H A Ddeclare_001.phpt13 declare(encoding = M_PI);
H A Ddeclare_002.phpt13 declare(encoding = M_PI);
H A Dbug42143.phpt14 var_dump(sqrt(cos(M_PI)) == 0.1);
H A Disset_str_offset.phpt50 var_dump(isset($str[M_PI]));
H A Dempty_str_offset.phpt52 var_dump(empty($str[M_PI]));
/PHP-8.1/main/
H A Dphp.h97 # define M_TWOPI (M_PI * 2.0)
/PHP-8.1/ext/gd/
H A Dgd.c87 #ifndef M_PI
88 #define M_PI 3.14159265358979323846 macro
3236 angle = angle * (M_PI/180); in php_imagettftext_common()

Completed in 90 milliseconds

12