Searched refs:tan (Results 1 – 11 of 11) sorted by relevance
2 Test return type and value for expected input tan()8 * proto float tan(float number)18 echo "tan 60 = ";19 var_dump(tan($sixty));20 if (allowed_rounding_error(tan($sixty),1.7320508075689)) {27 echo "tan 30 = ";28 var_dump(tan($thirty));29 if (allowed_rounding_error(tan($thirty),0.57735026918963)) {38 tan 60 = float(%f)40 tan 30 = float(%f)
2 Test wrong number of arguments for tan()6 * proto float tan(float number)14 var_dump(tan($arg_0, $extra_arg));17 var_dump(tan());23 Warning: tan() expects exactly 1 parameter, 2 given in %s on line %d28 Warning: tan() expects exactly 1 parameter, 0 given in %s on line %d
2 Test variations in usage of tan()8 * proto float tan(float number)13 //Test tan with a different input values32 $res = tan($values[$i]);48 Warning: tan() expects parameter 1 to be float, string given in %s on line %d
2 Test tan function : 64bit long tests26 var_dump(tan($longVal));
12 takes_int(log(tan(3.14)));
10 var_dump(tan(-1) == 123);
228 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()249 dst[1] = tan(angle * M_PI / 180.0);; in gdAffineShearVertical()
35 PHP_FUNCTION(tan);
442 PHP_FUNCTION(tan) in PHP_FUNCTION() argument449 RETURN_DOUBLE(tan(num)); in PHP_FUNCTION()
2890 PHP_FE(tan, arginfo_tan)
47 #define tand(x) tan((x)*DEGRAD)
Completed in 41 milliseconds