Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/tests/math/
H A Dlog10_basic.phpt2 Test return type and value for expected input log10()
18 echo "log10 $arg_0 = ";
19 $r0 = log10($arg_0);
28 echo "log10 $arg_1 = ";
29 $r1 = log10($arg_1);
38 echo "log10 $arg_2 = ";
39 $r2 = log10($arg_2);
49 log10 1 = float(%f)
51 log10 10 = float(%f)
53 log10 100 = float(%f)
H A Dlog10_variation.phpt2 Test variations in usage of log10()
12 //Test log10 with a different input values
28 $res = log10($values[$i]);
H A Dlog10_basiclong_64bit.phpt2 Test log10 function : 64bit long tests
24 var_dump(log10($longVal));
/PHP-8.1/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-8.1/ext/standard/
H A Dmath.c40 result = (int)floor(log10(value)); in php_intlog10abs()
587 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
604 PHP_FUNCTION(log10) in PHP_FUNCTION() argument
612 RETURN_DOUBLE(log10(num)); in PHP_FUNCTION()
H A Dbasic_functions.stub.php1433 function log10(float $num): float {} function
H A Dbasic_functions_arginfo.h2687 ZEND_FUNCTION(log10);
3330 ZEND_FE(log10, arginfo_log10)

Completed in 35 milliseconds