LlLog/fr

From Second Life Wiki
< LlLog
Revision as of 11:34, 14 February 2008 by Gally Young (talk | contribs) (Localized to french)
(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

default
{
  state_entry()
  {
    float num1 = llFrand(100.0);

    llOwnerSay("Le logarithme de " + (string)num1 + " est " + (string)llLog(num1));
  }
}

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.