Flowdock
gcd(other) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/complex.rb, line 420
    def gcd(other)
      min = self.abs
      max = other.abs
      while min > 0
        tmp = min
        min = max % min
        max = tmp
      end
      max
    end
Register or log in to add new notes.