Menu
Samaritan's Purse

LOG1P

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

SYNTAX

log1p ( float $number ) : float

PARAMETERS

number

The argument to process

RETURN

log(1 + number)

EXAMPLES

0.012264482819982

PHP