Home
last modified time | relevance | path

Searched refs:tanh (Results 1 – 7 of 7) sorted by relevance

/PHP-5.5/ext/standard/tests/math/
H A Dtanh_basic.phpt15 echo "tanh .5 = ";
16 var_dump(tanh(0.5));
24 echo "tanh -0.5 = ";
25 var_dump(tanh(-0.5));
33 echo "tanh 3 = ";
34 var_dump(tanh(3.0));
42 echo "tanh -3 = ";
43 var_dump(tanh(-3.0));
53 tanh .5 = float(%f)
57 tanh 3 = float(%f)
[all …]
H A Dtanh_error.phpt2 Test wrong number of arguments for tanh()
6 * proto float tanh(float number)
14 var_dump(tanh($arg_0, $extra_arg));
17 var_dump(tanh());
23 Warning: tanh() expects exactly 1 parameter, 2 given in %s on line %d
28 Warning: tanh() expects exactly 1 parameter, 0 given in %s on line %d
H A Dtanh_variation.phpt2 Test variations in usage of tanh()
8 * proto float tanh(float number)
13 //Test tanh with a different input values
32 $res = tanh($values[$i]);
48 Warning: tanh() expects parameter 1 to be double, string given in %s on line %d
H A Dtanh_basiclong_64bit.phpt2 Test tanh function : 64bit long tests
24 var_dump(tanh($longVal));
/PHP-5.5/ext/standard/
H A Dphp_math.h80 PHP_FUNCTION(tanh);
H A Dmath.c500 PHP_FUNCTION(tanh) in PHP_FUNCTION() argument
507 RETURN_DOUBLE(tanh(num)); in PHP_FUNCTION()
H A Dbasic_functions.c2913 PHP_FE(tanh, arginfo_tanh)

Completed in 29 milliseconds