log10(z)
returns the base 10 logarithm of z
CMath.log10(-1) #=> (0.0+1.3643763538418412i)
# File lib/cmath.rb, line 121 def log10(z) begin if z.real? and z >= 0 log10!(z) else log(z) / log!(10) end rescue NoMethodError handle_no_method_error end end