aboutsummaryrefslogtreecommitdiff
path: root/math/rubygem-mathn/pkg-descr
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-21 22:40:28 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-04-21 22:40:28 +0000
commitcfc07ca3b5db7093b02f0a5794cdaef6da930eac (patch)
tree976c5ea0b11664eee275cdfdb2ea603d0630660d /math/rubygem-mathn/pkg-descr
parent7fc93d2033486692685974446c01995d755ebbb4 (diff)
downloadports-cfc07ca3b5db7093b02f0a5794cdaef6da930eac.tar.gz
ports-cfc07ca3b5db7093b02f0a5794cdaef6da930eac.zip
Add rubygem-mathn 0.1.0
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
Notes
Notes: svn path=/head/; revision=467909
Diffstat (limited to 'math/rubygem-mathn/pkg-descr')
-rw-r--r--math/rubygem-mathn/pkg-descr13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/rubygem-mathn/pkg-descr b/math/rubygem-mathn/pkg-descr
new file mode 100644
index 000000000000..3c0b34f703a7
--- /dev/null
+++ b/math/rubygem-mathn/pkg-descr
@@ -0,0 +1,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