Home
last modified time | relevance | path

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

12

/PHP-7.2/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-7.2/ext/standard/tests/math/
H A Dcos_basic.phpt18 $sixty = M_PI / 3.0;
19 $thirty = M_PI / 6.0;
20 $ninety = M_PI /2.0;
21 $oneeighty = M_PI;
22 $twoseventy = M_PI * 1.5;
23 $threesixty = M_PI * 2.0;
H A Dsin_basic.phpt18 $sixty = M_PI / 3.0;
19 $thirty = M_PI / 6.0;
20 $ninety = M_PI /2.0;
21 $oneeighty = M_PI;
22 $twoseventy = M_PI * 1.5;
23 $threesixty = M_PI * 2.0;
H A Dasin_basic.phpt19 $asinv1 = 360.0 * asin(0.5) / (2.0 * M_PI );
29 $asinv2 = 360.0 * asin(0.86602540378444) / (2.0 * M_PI );
39 $asinv3 = 360.0 * asin(1.0) / (2.0 * M_PI );
50 $asinv4 = 360.0 * asin(0.0) / (2.0 * M_PI );
H A Dacos_basic.phpt19 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI );
29 $acosv2 = 360.0 * acos(0.86602540378444) / (2.0 * M_PI );
40 $acosv3 = 360.0 * acos(1.0) / (2.0 * M_PI);
51 $acosv4 = 360.0 * acos(0.0) / (2.0 * M_PI );
H A Dconstants_basic.phpt17 echo "M_PI= ";
18 var_dump(M_PI);
52 M_PI= float(3.1415926535898)
H A Dconstants.phpt13 "M_PI",
36 M_PI : 3.141592[0-9]*
H A Datan_basic.phpt16 $atan1 = 360 * atan(1.7320508075689) / (2.0 * M_PI);
26 $atan2 = 360 * atan(0.57735026918963) / (2.0 * M_PI);
H A Dtan_basic.phpt15 $sixty = M_PI / 3.0;
16 $thirty = M_PI / 6.0;
H A Dpi_basic.phpt8 echo M_PI, "\n";
/PHP-7.2/ext/gd/libgd/
H A Dgd_matrix.c4 #ifndef M_PI
5 # define M_PI 3.14159265358979323846 macro
201 const double sin_t = sin (angle * M_PI / 180.0); in gdAffineRotate()
202 const double cos_t = cos (angle * M_PI / 180.0); in gdAffineRotate()
228 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
249 dst[1] = tan(angle * M_PI / 180.0);; in gdAffineShearVertical()
H A Dgd_interpolation.c318 return (double)(M_PI/4.0f); in filter_bessel()
319 return (KernelBessel_Order1((double)M_PI*x)/(2.0f*x)); in filter_bessel()
325 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); in filter_blackman()
439 return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI); in filter_lanczos8()
456 return R * sin(x*M_PI) * sin(x * M_PI / R) / (x * M_PI * x * M_PI); in filter_lanczos3()
575 return(0.5 + 0.5 * cos(M_PI * x)); in filter_hanning()
603 return (sin(M_PI * (double) x) / (M_PI * (double) x)); in filter_sinc()
1661 float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); in gdImageRotateNearestNeighbour()
1718 float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); in gdImageRotateGeneric()
1786 float _angle = (float)((- degrees / 180.0f) * M_PI); in gdImageRotateBilinear()
[all …]
/PHP-7.2/ext/standard/
H A Dphp_math.h108 #ifndef M_PI
109 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dmath.c580 RETURN_DOUBLE(M_PI); in PHP_FUNCTION()
785 RETURN_DOUBLE((deg / 180.0) * M_PI); in PHP_FUNCTION()
799 RETURN_DOUBLE((rad / M_PI) * 180); in PHP_FUNCTION()
H A Dbasic_functions.c3629 REGISTER_MATH_CONSTANT(M_PI); in PHP_MINIT_FUNCTION()
/PHP-7.2/Zend/tests/
H A Ddeclare_004.phpt10 declare(encoding = M_PI);
H A Ddeclare_003.phpt11 declare(encoding = M_PI);
H A Ddeclare_001.phpt17 declare(encoding = M_PI);
H A Ddeclare_002.phpt17 declare(encoding = M_PI);
H A Dbug42143.phpt14 var_dump(sqrt(cos(M_PI)) == 0.1);
H A Disset_str_offset.phpt41 var_dump(isset($str[M_PI]));
H A Dempty_str_offset.phpt44 var_dump(empty($str[M_PI]));
/PHP-7.2/main/
H A Dphp.h115 # define M_TWOPI (M_PI * 2.0)
/PHP-7.2/ext/gd/
H A Dgd.c84 #ifndef M_PI
85 #define M_PI 3.14159265358979323846 macro
4019 angle = angle * (M_PI/180); in php_imagettftext_common()

Completed in 76 milliseconds

12