Searched refs:atan (Results 1 – 8 of 8) sorted by relevance
2 Test return type and value for expected input atan()8 * proto float atan(float number)15 echo "atan 1.7320508075689 = ";16 $atan1 = 360 * atan(1.7320508075689) / (2.0 * M_PI);25 echo "atan 0.57735026918963 = ";26 $atan2 = 360 * atan(0.57735026918963) / (2.0 * M_PI);37 atan 1.7320508075689 = float(%f)39 atan 0.57735026918963 = float(%f)
2 Test wrong number of arguments for atan()6 * proto float atan(float number)14 var_dump(atan($arg_0, $extra_arg));17 var_dump(atan());23 Warning: atan() expects exactly 1 parameter, 2 given in %s on line %d28 Warning: atan() expects exactly 1 parameter, 0 given in %s on line %d
2 Test variations in usage of atan()8 * proto float atan(float number)13 //Test atan with a different input values32 $res = atan($values[$i]);48 Warning: atan() expects parameter 1 to be double, string given in %s on line %d
2 Test atan function : 64bit long tests24 var_dump(atan($longVal));
37 PHP_FUNCTION(atan);
448 PHP_FUNCTION(atan) in PHP_FUNCTION() argument455 RETURN_DOUBLE(atan(num)); in PHP_FUNCTION()
2890 PHP_FE(atan, arginfo_atan)
44 #define atand(x) (RADEG*atan(x))
Completed in 27 milliseconds