Home
last modified time | relevance | path

Searched refs:atan (Results 1 – 7 of 7) sorted by relevance

/PHP-8.1/ext/standard/tests/math/
H A Datan_basic.phpt2 Test return type and value for expected input atan()
14 echo "atan 1.7320508075689 = ";
15 $atan1 = 360 * atan(1.7320508075689) / (2.0 * M_PI);
24 echo "atan 0.57735026918963 = ";
25 $atan2 = 360 * atan(0.57735026918963) / (2.0 * M_PI);
36 atan 1.7320508075689 = float(%f)
38 atan 0.57735026918963 = float(%f)
H A Datan_variation.phpt2 Test variations in usage of atan()
12 //Test atan with a different input values
28 $res = atan($values[$i]);
H A Datan_basiclong_64bit.phpt2 Test atan function : 64bit long tests
24 var_dump(atan($longVal));
/PHP-8.1/ext/date/lib/
H A Dastro.c49 #define atand(x) (RADEG*atan(x))
/PHP-8.1/ext/standard/
H A Dmath.c373 PHP_FUNCTION(atan) in PHP_FUNCTION() argument
380 RETURN_DOUBLE(atan(num)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php1397 function atan(float $num): float {} function
H A Dbasic_functions_arginfo.h2669 ZEND_FUNCTION(atan);
3312 ZEND_FE(atan, arginfo_atan)

Completed in 40 milliseconds