LlLog/fr
From Second Life Wiki
| Portail LSL | | | Fonctions | | | Évènements | | | Types | | | Constantes | | | Contrôle d'exécution | | | Bibliothèque de scripts | | | Tutoriels |
Fonction: float llLog( float val );
| 265 | N° de fonction |
| 0.0 | Délai |
| 10.0 | Energie |
Renvoie un correspondant au 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:Natural_logarithm | – | Article wikipedia sur le logarithme |

