Home
last modified time | relevance | path

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

12

/php-src/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-src/ext/standard/tests/math/
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 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 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.phpt15 echo "M_PI= ";
16 var_dump(M_PI);
50 M_PI= float(3.141592653589793)
H A Dconstants.phpt13 "M_PI",
36 M_PI : 3.141592653589793
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-src/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.c307 return (double)(M_PI/4.0f); in filter_bessel()
308 return (KernelBessel_Order1((double)M_PI*x)/(2.0f*x)); in filter_bessel()
314 return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); in filter_blackman()
434 return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI); in filter_lanczos8()
452 return R * sin(x*M_PI) * sin(x * M_PI / R) / (x * M_PI * x * M_PI); in filter_lanczos3()
576 return(0.5 + 0.5 * cos(M_PI * x)); in filter_hanning()
604 return (sin(M_PI * (double) x) / (M_PI * (double) x)); in filter_sinc()
1633 float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); in gdImageRotateNearestNeighbour()
1690 float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); in gdImageRotateGeneric()
1756 float _angle = (float)((- degrees / 180.0f) * M_PI); in gdImageRotateBilinear()
[all …]
/php-src/ext/standard/
H A Dphp_math.h53 #ifndef M_PI
54 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dmath.c554 RETURN_DOUBLE(M_PI); in PHP_FUNCTION()
731 RETURN_DOUBLE((deg / 180.0) * M_PI); in PHP_FUNCTION()
744 RETURN_DOUBLE((rad / M_PI) * 180); in PHP_FUNCTION()
/php-src/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-src/ext/standard/tests/strings/
H A Dsprintf_rope_optimization_003.phpt56 var_dump(sprintf("%d/%d/%d/%d", __FILE__, __LINE__, 1, M_PI));
/php-src/docs/source/miscellaneous/
H A Dstubs.rst277 /** @cvalue M_PI */
405 * @cvalue M_PI
421 REGISTER_DOUBLE_CONSTANT("BAR", M_PI, CONST_PERSISTENT);
451 with ``@cvalue M_PI`` to the C-level constant ``M_PI`` (define by PHP's internals).
516 * @cvalue M_PI
554 ZVAL_DOUBLE(&const_PI_value, M_PI);
/php-src/main/
H A Dphp.h97 # define M_TWOPI (M_PI * 2.0)

Completed in 32 milliseconds

12