User Tools

Site Tools


xrpl:log10

Differences

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

Link to this comparison view

xrpl:log10 [2019/03/03 23:11] – created Karsten75xrpl:log10 [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-=====  log10   ===== 
- 
-^Arguments^Result^Notation^ 
-|float| float| [float- float] | 
- 
- 
-=== Description === 
-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. (ie. (NaN<0) -> false, (NaN>=0) -> false)<br/>  
-other logarithms<br/>  
-log10(x) = log(x, 10)<br/>  
-log10(x)/log10(e) = ln(x)<br/>  
-log10(2)=0.3010-ish<br/>  
-log10(e)=0.4343-ish<br/>  
-log10(10)=1<br/>  
- 
-=== Examples === 
-<code>trace(log10(1))  # prints '0'  
-trace(log10(10)) # prints '1'  
-</code> 
  
xrpl/log10.1551654712.txt.gz · Last modified: 2025/02/14 14:56 (external edit)