Home
last modified time | relevance | path

Searched refs:acos (Results 1 – 12 of 12) sorted by relevance

/php-src/ext/standard/tests/math/
H A Dacos_basic.phpt2 Test return type and value for expected input acos()
17 echo "acos .5 = ";
18 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI );
27 echo "acos 0.86602540378444 = ";
38 echo "acos 1.0 = ";
39 $acosv3 = 360.0 * acos(1.0) / (2.0 * M_PI);
49 echo "acos 0.0 = ";
61 acos .5 = float(%f)
63 acos 0.86602540378444 = float(%f)
65 acos 1.0 = float(%f)
[all …]
H A Dacos_variation.phpt2 Test variations in usage of acos()
12 //Test acos with a different input values
28 $res = acos($values[$i]);
H A Dbug25665.phpt6 if ($OS == 'SUNOS' || $OS == 'SOLARIS') die("SKIP Solaris acos() returns wrong value");
11 var_dump(acos(1.01));
H A Dacos_basiclong_64bit.phpt2 Test acos function : 64bit long tests
24 var_dump(acos($longVal));
H A Dis_finite_basic.phpt17 acos(1.01));
H A Dis_infinite_basic.phpt17 acos(1.01));
H A Dis_nan_basic.phpt17 acos(1.01));
H A Dbug45712.phpt7 $nan = acos(1.01);
/php-src/ext/date/lib/
H A Dastro.c51 #define acosd(x) (RADEG*acos(x))
/php-src/ext/standard/
H A Dmath.c407 PHP_FUNCTION(acos) in PHP_FUNCTION() argument
414 RETURN_DOUBLE(acos(num)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php3156 function acos(float $num): float {}
H A Dbasic_functions_arginfo.h2758 ZEND_FUNCTION(acos);

Completed in 40 milliseconds