aboutsummaryrefslogtreecommitdiff
path: root/math/rubygem-mathn/pkg-descr
blob: 3c0b34f703a73b42f1ba1aa0119d67fe792de739 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
mathn serves to make mathematical operations more precise in Ruby and to
integrate other mathematical standard libraries.

Requiring mathn causes changes to the behavior (and even the types) of
operations on classes like Integer and it applies to the entire process, not
just the file or gem which includes mathn. Therefore, we recommend that instead
of requiring mathn, you instead explicitly specify rational values as desired.

Before ruby 2.5, mathn was part of the ruby standard library. It was deprecated
in ruby 2.2.0, and removed from ruby 2.5.0. In order to use the library with a
current version of ruby, you must install it as a gem.

WWW: https://github.com/ruby/mathn