math/rubygem-mathn 0.2.0 DragonFly
Deprecated library that extends math operations
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE
- Categories
- math, rubygems
- Package size
- 6.1 KiB, 15.5 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | math/rubygem-mathn | 0.2.0 |
| FreeBSD | math/rubygem-mathn | 0.2.0 |
Install
Binary package:
pkg install rubygem-mathn
From DPorts:
cd /usr/dports/math/rubygem-mathn && make install clean
Dependencies
Run dependencies 3
No port depends on this one.