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 )