Module: Math

Defined in:
lib/ipaddress.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.log2(n) ⇒ Object


197
198
199
# File 'lib/ipaddress.rb', line 197

def Math.log2(n) 
  log(n) / log(2) 
end