Difference between revisions of "LlLog/fr"

From Second Life Wiki
Jump to navigation Jump to search
(Localized to french)
 
m (pre → lsl)
 
Line 9: Line 9:
|caveats
|caveats
|constants
|constants
|examples=<pre>
|examples=<lsl>
default
default
{
{
Line 19: Line 19:
   }
   }
}
}
</pre>
</lsl>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llLog10/fr|llLog10]]|Renvoie un logarithme en base 10}}
|also_functions={{LSL DefineRow||[[llLog10/fr|llLog10]]|Renvoie un logarithme en base 10}}

Latest revision as of 14:58, 11 February 2009

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.