<?php
float log10 ( float $num )
where,
$num = The argument to calculate the logarithm in the base 10
?>
<table width="100%" border="1" cellspacing="5" cellpadding="5">
<tr><td colspan="4">BASE 10 LOGARITHM VALUES</td></tr>
<tr><td>CONSTANT</td><td>VALUE</td><td>OPERATION</td><td>RESULT</td></tr>
<?php
// setlocale(LC_ALL, 'fr_FR', 'fr-FR', 'fr');
$l01_a = [ 'PHP_INT_MIN' => PHP_INT_MIN,
'PHP_FLOAT_MIN' => PHP_FLOAT_MIN,
'0' => 0, '10' => 10,
'PHP_INT_MAX' => PHP_INT_MAX,
'PHP_FLOAT_EPSILON' => PHP_FLOAT_EPSILON,
'PHP_FLOAT_MAX' => PHP_FLOAT_MAX ];
foreach($l01_a as $wis => $val)
{
echo '<td>' . $wis . '</td>';
echo '<td>' . $val . '</td>';
echo '<td>log10( ' . $val . ' )</td><td>' . log10($val) . '</td></tr>';
}
?>
<td colspan="4">ed48</td></tr></table>