This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:ln [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:ln [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
+ | <= [[4rpl: | ||
====== ln ====== | ====== ln ====== | ||
Line 8: | Line 9: | ||
The natural logarithm. Gives the magnitude of the number. On zero, returns -inf. Below zero, returns NaN, a special value that always causes failure when compared to other numbers. Eg. (NaN<0) -> false, (Nan>=0) -> false | The natural logarithm. Gives the magnitude of the number. On zero, returns -inf. Below zero, returns NaN, a special value that always causes failure when compared to other numbers. Eg. (NaN<0) -> false, (Nan>=0) -> false | ||
- | other logarithms | + | other logarithms |
- | ln(x)/ | + | <WRAP indent> |
- | ln(2)=0.6931… | + | ln(x) = log(x, e) \\ |
- | ln(e)=.999999 | + | ln(x)/ |
- | ln(10)=2.3026… | + | ln(2)=0.6931… \\ |
+ | ln(e)=.999999 \\ | ||
+ | ln(10)=2.3026… | ||
+ | </ | ||
===== Examples ===== | ===== Examples ===== |