This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Math Commands
Arguments | Result | Notation |
---|---|---|
A floating point or integer | The natural log | f1 – f2 |
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. (ie. (NaN<0) ⇒ false, (Nan>=0) ⇒ false)
ln(x) = log(x, e) ln(x)/ln(10) = log10(x) ln(2)=0.6931-ish ln(e)=.999999 (odd, hunh?) ln(10)=2.3026-ish
ShowTraceLog -1 ln trace #NaN 0 ln trace #-inf 1 ln trace #0 e ln trace #1 e dup mul ln trace #2