PHP log1p() Function

Definition and Usage

log1p() returns log(1 + x), even when the value of x is close to zero, and can calculate an accurate result.

Syntax

log1p(x)
Parameter Description
x Required. A number.

Description

Warning:This function is experimental. The behavior of this function, including the function name and any other documentation about this function, may change without notice in future PHP releases. Use this function at your own risk.