Home
last modified time | relevance | path

Searched refs:tan (Results 1 – 10 of 10) sorted by relevance

/PHP-7.4/ext/standard/tests/math/
H A Dtan_basic.phpt2 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)
H A Dtan_variation.phpt2 Test variations in usage of tan()
8 * proto float tan(float number)
13 //Test tan with a different input values
32 $res = tan($values[$i]);
48 Warning: tan() expects parameter 1 to be float, string given in %s on line %d
H A Dtan_basiclong_64bit.phpt2 Test tan function : 64bit long tests
26 var_dump(tan($longVal));
/PHP-7.4/Zend/tests/
H A Dbug73954.phpt12 takes_int(log(tan(3.14)));
H A Dbug42143.phpt10 var_dump(tan(-1) == 123);
/PHP-7.4/ext/gd/libgd/
H A Dgd_matrix.c228 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
249 dst[1] = tan(angle * M_PI / 180.0); in gdAffineShearVertical()
/PHP-7.4/ext/standard/
H A Dphp_math.h33 PHP_FUNCTION(tan);
H A Dmath.c432 PHP_FUNCTION(tan) in PHP_FUNCTION() argument
439 RETURN_DOUBLE(tan(num)); in PHP_FUNCTION()
H A Dbasic_functions.c2937 PHP_FE(tan, arginfo_tan)
/PHP-7.4/ext/date/lib/
H A Dastro.c47 #define tand(x) tan((x)*DEGRAD)

Completed in 42 milliseconds