Class: RubyMath::Log2

Inherits:
Object
  • Object
show all
Defined in:
lib/mdarray/ruby_math.rb

Class Method Summary collapse

Class Method Details

.apply(val) ⇒ Object


118
119
120
# File 'lib/mdarray/ruby_math.rb', line 118

def self.apply(val)
  Math.log2(val)
end