Home
last modified time | relevance | path

Searched refs:atan2 (Results 1 – 11 of 11) sorted by relevance

/PHP-7.0/ext/standard/tests/math/
H A Datan2_error.phpt2 Test atan2() - wrong params atan2()
5 atan2();
6 atan2(36);
7 atan2(36,25,0);
10 Warning: atan2() expects exactly 2 parameters, 0 given in %s on line %d
12 Warning: atan2() expects exactly 2 parameters, 1 given in %s on line %d
14 Warning: atan2() expects exactly 2 parameters, 3 given in %s on line %d
H A Datan2_variation1.phpt2 Test atan2() function : usage variations - different data types as $y arg
7 /* Prototype : float atan2 ( float $y , float $x )
12 echo "*** Testing atan2() : usage variations ***\n";
80 // loop through each element of $inputs to check the behaviour of atan2()
84 var_dump(atan2($input, 23));
92 *** Testing atan2() : usage variations ***
144 Warning: atan2() expects parameter 1 to be float, string given in %s on line %d
149 Warning: atan2() expects parameter 1 to be float, string given in %s on line %d
154 Warning: atan2() expects parameter 1 to be float, array given in %s on line %d
159 Warning: atan2() expects parameter 1 to be float, string given in %s on line %d
[all …]
H A Datan2_variation2.phpt2 Test atan2() function : usage variations - different data types as $x arg
7 /* Prototype : float atan2 ( float $y , float $x )
12 echo "*** Testing atan2() : basic functionality ***\n";
80 // loop through each element of $inputs to check the behaviour of atan2()
84 var_dump(atan2(23, $input));
91 *** Testing atan2() : basic functionality ***
143 Warning: atan2() expects parameter 2 to be float, string given in %s on line %d
148 Warning: atan2() expects parameter 2 to be float, string given in %s on line %d
153 Warning: atan2() expects parameter 2 to be float, array given in %s on line %d
158 Warning: atan2() expects parameter 2 to be float, string given in %s on line %d
[all …]
H A Datan_basic.phpt26 $atan2 = 360 * atan(0.57735026918963) / (2.0 * M_PI);
27 var_dump($atan2);
28 if (allowed_rounding_error($atan2 ,30 )) {
H A Datan2_basic.phpt2 Test atan2() - basic function test of atan2()
35 $res = atan2($valuesy[$i], $valuesx[$j]);
H A Datan2_basiclong_64bit.phpt2 Test atan2 function : 64bit long tests
27 var_dump(atan2($longVal, $otherVal));
/PHP-7.0/ext/standard/
H A Dphp_math.h39 PHP_FUNCTION(atan2);
H A Dmath.c494 PHP_FUNCTION(atan2) in PHP_FUNCTION() argument
502 RETURN_DOUBLE(atan2(num1, num2)); in PHP_FUNCTION()
H A Dbasic_functions.c2895 PHP_FE(atan2, arginfo_atan2)
/PHP-7.0/ext/date/lib/
H A Dastro.c52 #define atan2d(y,x) (RADEG*atan2(y,x))
/PHP-7.0/ext/gd/libgd/
H A Dgd.c1141 double ac = cos (atan2 (dy, dx)); in gdImageLine()
1205 double as = sin (atan2 (dy, dx)); in gdImageLine()
1389 double as = sin(atan2(dy, dx)); in gdImageDashedLine()
1395 wid = (int)(thick * sin(atan2(dy, dx))); in gdImageDashedLine()
1439 double as = sin (atan2 (dy, dx)); in gdImageDashedLine()

Completed in 39 milliseconds