lib/hpsqrt.rb in hpsqrt-1.2.0 vs lib/hpsqrt.rb in hpsqrt-1.3.0

- old
+ new

@@ -128,9 +128,10 @@ end def imag to_c.imag end + alias_method :imaginary, :imag def to_i c = to_c if c.imag.zero? c.real.to_i