Home
last modified time | relevance | path

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

/PHP-5.5/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_error.phpt2 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 %d
28 Warning: tan() expects exactly 1 parameter, 0 given in %s on line %d
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 double, 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-5.5/Zend/tests/
H A Dbug42143.phpt10 var_dump(tan(-1) == 123);
/PHP-5.5/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()
H A Dgd_rotate.c360 dTan = tan (dRadAngle / 2.0); in gdImageRotate45()
401 dTan = tan (dRadAngle / 2.0); in gdImageRotate45()
/PHP-5.5/ext/standard/
H A Dphp_math.h34 PHP_FUNCTION(tan);
H A Dmath.c409 PHP_FUNCTION(tan) in PHP_FUNCTION() argument
416 RETURN_DOUBLE(tan(num)); in PHP_FUNCTION()
H A Dbasic_functions.c2905 PHP_FE(tan, arginfo_tan)
/PHP-5.5/ext/date/lib/
H A Dastro.c42 #define tand(x) tan((x)*DEGRAD)

Completed in 37 milliseconds