@hackage siggy-chardust1.0.0
Rounding rationals to significant digits and decimal places.
Categories
License
MPL-2.0
Maintainer
phil.dejoux@blockscope.com
Links
Versions
- 1.0.0 Fri, 29 Jun 2018
Installation
Tested Compilers
Dependencies (1)
Dependents (2)
@hackage/flight-kml, @hackage/detour-via-sci
siggy-chardust
Rounding rationals to significant digits and decimal places.
The 'round' function from the prelude returns an integer. The standard librarys of C and C++ have round functions that return floating point numbers. Rounding in this library takes and returns 'Rational's and can round to a number of significant digits or a number of decimal places.