This shows you the differences between two versions of the page.
| xrpl:ln [2019/03/03 23:10] – created Karsten75 | xrpl:ln [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ===== ln ===== | ||
| - | |||
| - | ^Arguments^Result^Notation^ | ||
| - | |float| float| [float- float] | | ||
| - | |||
| - | |||
| - | === Description === | ||
| - | 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)< | ||
| - | other logarithms< | ||
| - | ln(x) = log(x, e)< | ||
| - | ln(x)/ | ||
| - | ln(2)=0.6931...< | ||
| - | ln(e)=.999999 < | ||
| - | ln(10)=2.3026...< | ||
| - | |||
| - | === Examples === | ||
| - | < | ||
| - | trace(ln(0)) | ||
| - | trace(ln(1)) | ||
| - | trace(ln(e)) | ||
| - | </ | ||