LlLog/fr: Difference between revisions
< LlLog
Gally Young (talk | contribs) Localized to french |
m pre → lsl |
||
| Line 9: | Line 9: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples=< | |examples=<lsl> | ||
default | default | ||
{ | { | ||
| Line 19: | Line 19: | ||
} | } | ||
} | } | ||
</ | </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
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: float llLog( float val );| 265 | N° de fonction |
| 0.0 | Delais |
| 10.0 | Energie |
Renvoie un float correspondant au
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
| • | – | Article wikipedia sur le logarithme |
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.