log1p

(PHP 4 >= 4.1.0, PHP 5)

log1p --  Returns log(1 + number), computed in a way that is accurate even when the value of number is close to zero

Description

float log1p ( float number )

警告

這個函數是實驗性質的。這個函數的行為、名稱、和關於此函數的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此延伸需自行承擔風險。

log1p() returns log(1 + number) computed in a way that is accurante even when the value of number is close to zero.

注: 此函數不適用於 Windows 平台。

See also expm1() and log().