pow() retourne base élevé à la puissance exp. Si possible, pow() retourne un integer.
Si le calcul ne peut être fait, une alerte sera affichée et pow() retournera FALSE.
Avertissement |
En PHP 4.0.6 plus ancien, pow() retournait toujours un nombre à virgule flottante (float), et n'affichait pas d'alerte. Si le calcul est impossible (racine d'un nombre négatif, par exemple), pow() retournait NAN. |
Voir aussi exp().