Module: Math::N

Defined in:
lib/mathn/rational.rb,
lib/mathn/complex.rb,
lib/mathn.rb

Overview

mathn/complex

Constant Summary collapse

VERSION =

The version string

"0.2.0"

Instance Method Summary collapse

Instance Method Details

#*(other) ⇒ Object



53
# File 'lib/mathn.rb', line 53

def *(other) super.canonicalize end

#**(other) ⇒ Object



56
# File 'lib/mathn.rb', line 56

def **(other) super.canonicalize end

#+(other) ⇒ Object



51
# File 'lib/mathn.rb', line 51

def +(other) super.canonicalize end

#-(other) ⇒ Object



52
# File 'lib/mathn.rb', line 52

def -(other) super.canonicalize end

#/(other) ⇒ Object



54
# File 'lib/mathn.rb', line 54

def /(other) super.canonicalize end

#quo(other) ⇒ Object



55
# File 'lib/mathn.rb', line 55

def quo(other) super.canonicalize end