Module: Math

Defined in:
lib/ruckus/extensions/math.rb

Class Method Summary collapse

Class Method Details

.log2(x) ⇒ Object

Ick. Why isn’t this in the standard library? Ick.



3
# File 'lib/ruckus/extensions/math.rb', line 3

def log2(x); log(x) / log(2); end