LlLog/fr

From Second Life Wiki
< LlLog
Revision as of 14:58, 11 February 2009 by Zai Lynch (talk | contribs) (pre → lsl)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Fonction: float llLog( float val );

Renvoie un float correspondant au "Wikipedia logo"logarithme de val.
si val <= 0, la fonction renvoie 0.0.

• float val

Pour un logarithme de base 10 utilisez llLog10.

Exemples

<lsl> default {

 state_entry()
 {
   float num1 = llFrand(100.0);
   llOwnerSay("Le logarithme de " + (string)num1 + " est " + (string)llLog(num1));
 }

} </lsl>

Voir également

Fonctions

•  llLog10 Renvoie un logarithme en base 10
•  llPow Renvoie une puissance
•  llSqrt Renvoie une racine carrée

Articles

•  "Wikipedia logo"Natural_logarithm Article wikipedia sur le logarithme
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.