Home
last modified time | relevance | path

Searched refs:log10 (Results 1 – 8 of 8) sorted by relevance

/PHP-7.0/ext/standard/tests/math/
H A Dlog10_basic.phpt2 Test return type and value for expected input log10()
8 * proto float log10(float number)
19 echo "log10 $arg_0 = ";
20 $r0 = log10($arg_0);
29 echo "log10 $arg_1 = ";
30 $r1 = log10($arg_1);
39 echo "log10 $arg_2 = ";
40 $r2 = log10($arg_2);
50 log10 1 = float(%f)
52 log10 10 = float(%f)
[all …]
H A Dlog10_error.phpt2 Test wrong number of arguments for log10()
8 * proto float log10(float number)
16 var_dump(log10($arg_0, $extra_arg));
19 var_dump(log10());
25 Warning: log10() expects exactly 1 parameter, 2 given in %s on line %d
30 Warning: log10() expects exactly 1 parameter, 0 given in %s on line %d
H A Dlog10_variation.phpt2 Test variations in usage of log10()
8 * proto float log10(float number)
13 //Test log10 with a different input values
32 $res = log10($values[$i]);
48 Warning: log10() expects parameter 1 to be float, string given in %s on line %d
H A Dlog10_basiclong_64bit.phpt2 Test log10 function : 64bit long tests
24 var_dump(log10($longVal));
/PHP-7.0/Zend/tests/
H A Dbug42143.phpt18 var_dump(log10(-1) == log(-1));
19 var_dump(log10(-1) != log10(-1));
20 var_dump(is_finite(log10(-1)) == false);
/PHP-7.0/ext/standard/
H A Dphp_math.h43 PHP_FUNCTION(log10);
H A Dmath.c42 result = (int)floor(log10(value)); in php_intlog10abs()
718 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
736 PHP_FUNCTION(log10) in PHP_FUNCTION() argument
744 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
H A Dbasic_functions.c2910 PHP_FE(log10, arginfo_log10)

Completed in 21 milliseconds