Original (English)Logarithm of x with base e. Parameters:x - any var. Returns:ln(x) Remarks:
Examples:x = log(1); // x == 0 x = log(2.718); // x == 1 (2.718 is an approximation to the constant e). x = log(y)/log(2); // x == log2(y), i.e. log(y) base 2. See also:exp, pow, sqrt |
Übersetzung (Deutsch)Logarithmus von x zur Basis e. Parameter:x - ein beliebiger var. Rückgabe:ln(x) Bemerkungen:
Beispiele:x = log(1); // x == 0 x = log(2.718); // x == 1 (2.718 ist eine Annäherung an die Konstante e). x = log(y)/log(2); // x == log2(y), d.h. log(y) zur Basis 2. Siehe auch:exp, pow, sqrt |