This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:log10 [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:log10 [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | < | + | < | 
| + | <= [[4rpl: | ||
| ====== log10 ====== | ====== log10 ====== | ||
| Line 8: | Line 9: | ||
| The base ten logarithm. Gives the number of digits in the number before the decimal point. 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 base ten logarithm. Gives the number of digits in the number before the decimal point. 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:<WRAP indent> | 
| - | log10(10)=1  | + | log10(x) = log(x, 10) \\ | 
| + | log10(x)/ | ||
| + | log10(2)=0.3010-//ish// \\ | ||
| + | log10(e)=0.4343-//ish// \\ | ||
| + | log10(10)=1 \\ | ||
| + | </ | ||
| ===== Examples ===== | ===== Examples ===== | ||