Services webmasters
Partenaires
Jeux concours gratuits
 
lcg_value
<<<
log log10
>>>

7.50 Mathématiques
7 Index des fonctions
 Manuel PHP

Introduction
Pré-requis
Installation
Configuration à l'exécution
Types de ressources
Constantes prédefinies
abs
acos
acosh
asin
asinh
atan
atan2
atanh
base_convert
bindec
ceil
cos
cosh
decbin
dechex
decoct
deg2rad
exp
expm1
floor
fmod
getrandmax
hexdec
hypot
is_finite
is_infinite
is_nan
lcg_value
->log
log10
log1p
max
min
mt_getrandmax
mt_rand
mt_srand
octdec
pi
pow
rad2deg
rand
round
sin
sinh
sqrt
srand
tan
tanh

7.50.35 log()Logarithme naturel (népérien)

[ Exemples avec log ]   PHP 3, PHP 4

float  log ( float   arg , float   base )

log retourne le logarithme naturel (ou népérien) de arg . Si le paramètre optionnel base est spécifié, log retourn alors le logarithme en base base .

Note

Le paramètre base a été ajouté en PHP version 4.3.0.

Vous pouvez toujours calculer le logarithme en base b d'un nombre n , en utilisant la formule ; logb(n) = log(n)/log(b) , où log est le logarithme naturel ou népérien.

Voir aussi exp .

<< log >>
lcg_value Mathématiques log10
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -