D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Math
/
Filename :
log-c.ri
back
Copy
U:RDoc::AnyMethod[iI"log:ETI"Math::log;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"YReturns the base +base+ {logarithm}[https://en.wikipedia.org/wiki/Logarithm] of +x+.;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I"$Domain: <tt>[0, INFINITY]</tt>.;To;;0; [o; ; [I",Range: <tt>[-INFINITY, INFINITY)]</tt>.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [I"$log(0.0) # => -Infinity ;TI"log(1.0) # => 0.0 ;TI"log(E) # => 1.0 ;TI"#log(INFINITY) # => Infinity ;TI" ;TI"$log(0.0, 2.0) # => -Infinity ;TI"log(1.0, 2.0) # => 0.0 ;TI"log(2.0, 2.0) # => 1.0 ;TI" ;TI"$log(0.0, 10.0) # => -Infinity ;TI"log(1.0, 10.0) # => 0.0 ;TI"log(10.0, 10.0) # => 1.0;T:@format0: @fileI"math.c;T:0@omit_headings_from_table_of_contents_below0I"*Math.log(x, base = Math::E) -> Float ;T0[ I"(*args);T@,FI" Math;TcRDoc::NormalModule00