lib/numb/ruby1.8.rb in numb-0.10.0 vs lib/numb/ruby1.8.rb in numb-0.20.0

- old
+ new

@@ -1,7 +1,7 @@ module Math def self.cbrt(x) - (x.to_f**(1.0/3.0)).round.to_f + (x.to_f**(1.0/3.0)) end unless Math.methods.any?{|m| m.to_s == 'cbrt'} def self.log2(x) Math.log(x) / Math.log(2) end unless Math.methods.any?{|m| m.to_s == 'log2'}