User Tools

Site Tools


4rpl:commands:ln

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:ln [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:ln [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<=[[4rpl:start| Index]] \\ 
 +<= [[4rpl:start#Math]]  
  
 ====== 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 \  ln(x) = log(x, e) \\\ +other logarithms 
-ln(x)/ln(10) = log10(x) \\\ +<WRAP indent> 
-ln(2)=0.6931… \\\ +ln(x) = log(x, e) \\  
-ln(e)=.999999 \\\ +ln(x)/ln(10) = log10(x) \\  
-ln(10)=2.3026… \+ln(2)=0.6931… \\  
 +ln(e)=.999999 \\  
 +ln(10)=2.3026…  
 +</WRAP>
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/ln.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)