aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mathn.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mathn.rb')
-rw-r--r--lib/mathn.rb17
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/mathn.rb b/lib/mathn.rb
index 9e33f45580..d6f2da0210 100644
--- a/lib/mathn.rb
+++ b/lib/mathn.rb
@@ -55,27 +55,12 @@ unless defined?(Math.exp!)
end
##
-# When mathn is required, Fixnum's division is enhanced to
+# When mathn is required, Integer's division is enhanced to
# return more precise values from mathematical expressions.
#
# 2/3*3 # => 0
# require 'mathn'
# 2/3*3 # => 2
-
-class Fixnum
- remove_method :/
-
- ##
- # +/+ defines the Rational division for Fixnum.
- #
- # 1/3 # => (1/3)
-
- alias / quo
-end
-
-##
-# When mathn is required Bignum's division is enhanced to
-# return more precise values from mathematical expressions.
#
# (2**72) / ((2**70) * 3) # => 4/3