Function __global->log

Definitions

sources_custom/phpstub.php

  • Logarithm.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: float

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$arg float No No required parameter N/A N/A Number to find log of
$base float No No 2.718281828459 N/A N/A Base

Returns

  • Log of given number
  • Type: float
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Logarithm.
 *
 * @param  float $arg Number to find log of
 * @param  float $base Base
 * @return float Log of given number
 */

function log(float $arg, float $base = 2.718281828459) : float