(1..10).map{|a| 2 ** a}.map{|b| Math::log(b)/Math::log(2) } # => [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.