Home
last modified time | relevance | path

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

/PHP-5.3/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-5.3/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 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 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 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-5.3/main/
H A Dwin95nt.h62 #define M_PI 3.14159265358979323846 macro
63 #define M_TWOPI (M_PI * 2.0)
/PHP-5.3/ext/standard/
H A Dphp_math.h107 #ifndef M_PI
108 #define M_PI 3.14159265358979323846 /* pi */ macro
H A Dmath.c554 RETURN_DOUBLE(M_PI); in PHP_FUNCTION()
773 RETURN_DOUBLE((deg / 180.0) * M_PI); in PHP_FUNCTION()
786 RETURN_DOUBLE((rad / M_PI) * 180); in PHP_FUNCTION()
H A Dbasic_functions.c3586 REGISTER_MATH_CONSTANT(M_PI); in PHP_MINIT_FUNCTION()
/PHP-5.3/Zend/tests/
H A Ddeclare_001.phpt15 declare(encoding = M_PI);
H A Dbug42143.phpt14 var_dump(sqrt(cos(M_PI)) == 0.1);
/PHP-5.3/ext/gd/libgd/
H A Dgd_arc_f_buggy.c245 s_sin = (long) ((double) 32768 * sin ((double) s * M_PI / (double) 180));
246 s_cos = (long) ((double) 32768 * cos ((double) s * M_PI / (double) 180));
255 e_sin = (long) ((double) 32768 * sin ((double) e * M_PI / (double) 180));
256 e_cos = (long) ((double) 32768 * cos ((double) e * M_PI / (double) 180));
610 a_sin = (long) ((double) 32768 * sin ((double) angle * M_PI / (double) 180));
611 a_cos = (long) ((double) 32768 * cos ((double) angle * M_PI / (double) 180));
/PHP-5.3/ext/gd/
H A Dgd.c87 #ifndef M_PI
88 #define M_PI 3.14159265358979323846 macro
3925 angle = angle * (M_PI/180); in php_imagettftext_common()
4380 angle = angle * M_PI / 180; in PHP_FUNCTION()
/PHP-5.3/
H A Dphp.ini-development43 ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
H A Dphp.ini-production43 ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one

Completed in 57 milliseconds