Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

exp

(PHP 3, PHP 4 , PHP 5)

exp -- Exponentielle

Description

float exp ( float arg)

exp() retourne l'exponentielle de arg, c'est-à-dire e élevé à la puissance arg.

Note : 'e' est le logarithme naturel, ou approximativement 2.718282.

Exemple 1. Exemple avec exp()

<?php
echo exp(12) . "\n";
echo
exp(5.7);
?>

L'exemple précédent affchera :

1.6275E+005
298.87

Voir aussi pow() et log().

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Manuel PHP". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.