Searched refs:acos (Results 1 – 13 of 13) sorted by relevance
2 Test return type and value for expected input acos()8 * proto float acos(float number)18 echo "acos .5 = ";19 $acosv1 = 360.0 * acos(0.5) / (2.0 * M_PI );28 echo "acos 0.86602540378444 = ";39 echo "acos 1.0 = ";50 echo "acos 0.0 = ";62 acos .5 = float(%f)64 acos 0.86602540378444 = float(%f)66 acos 1.0 = float(%f)[all …]
2 Test wrong number of arguments for acos()6 * proto float acos(float number)14 var_dump(acos($arg_0, $extra_arg));17 var_dump(acos());23 Warning: acos() expects exactly 1 parameter, 2 given in %s on line %d28 Warning: acos() expects exactly 1 parameter, 0 given in %s on line %d
2 Test variations in usage of acos()8 * proto float acos(float number)13 //Test acos with a different input values32 $res = acos($values[$i]);48 Warning: acos() expects parameter 1 to be double, string given in %s on line %d
6 if ($OS == 'SUNOS' || $OS == 'SOLARIS') die("SKIP Solaris acos() returns wrong value");11 var_dump(acos(1.01));
2 Test acos function : 64bit long tests24 var_dump(acos($longVal));
18 acos(1.01));
9 $nan = acos(1.01);
36 PHP_FUNCTION(acos);
435 PHP_FUNCTION(acos) in PHP_FUNCTION() argument442 RETURN_DOUBLE(acos(num)); in PHP_FUNCTION()
2889 PHP_FE(acos, arginfo_acos)
46 #define acosd(x) (RADEG*acos(x))
Completed in 63 milliseconds