Forum und email

log1p

(PHP 4 >= 4.0.7, 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 )
Warning

הפונקציה זאת היא ניסיונית. ההתנהגות של הפונצקיה, שם הפונקציה וכל הדברים אשר מתועדים כאן עשויים להשתנות ללא התרעה בהפצות עתידיות של PHP. השתמש בתוספת זאת על אחריותך בלבד.

log1p() returns log(1 + number ) computed in a way that is accurante even when the value of number is close to zero. log() might only return log(1) in this case due to lack of precision.

Note: פונקציה זאת לא מיושמת בפלטפורמות Windows.

Parameters

number

The argument to process

Return Values

log(1 + number )

ראה גם