Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/math/
H A Dtan_basic.phpt2 Test return type and value for expected input tan()
17 echo "tan 60 = ";
18 var_dump(tan($sixty));
19 if (allowed_rounding_error(tan($sixty),1.7320508075689)) {
26 echo "tan 30 = ";
27 var_dump(tan($thirty));
28 if (allowed_rounding_error(tan($thirty),0.57735026918963)) {
37 tan 60 = float(%f)
39 tan 30 = float(%f)
H A Dtan_variation.phpt2 Test variations in usage of tan()
12 //Test tan with a different input values
29 $res = tan($values[$i]);
H A Dtan_basiclong_64bit.phpt2 Test tan function : 64bit long tests
26 var_dump(tan($longVal));
/PHP-8.0/Zend/tests/
H A Dbug73954.phpt12 takes_int(log(tan(3.14)));
H A Dbug42143.phpt10 var_dump(tan(-1) == 123);
/PHP-8.0/ext/gd/libgd/
H A Dgd_matrix.c226 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
247 dst[1] = tan(angle * M_PI / 180.0); in gdAffineShearVertical()
/PHP-8.0/ext/date/lib/
H A Dastro.c47 #define tand(x) tan((x)*DEGRAD)
/PHP-8.0/ext/standard/
H A Dmath.c341 PHP_FUNCTION(tan) in PHP_FUNCTION() argument
348 RETURN_DOUBLE(tan(num)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php1043 function tan(float $num): float {} function
H A Dbasic_functions_arginfo.h2654 ZEND_FUNCTION(tan);
3294 ZEND_FE(tan, arginfo_tan)

Completed in 33 milliseconds