siggy-chardust

Rounding rationals to significant digits and decimal places. https://github.com/blockscope/flare-timing/tree/master/siggy-chardust#readme

Version on this page:1.0.0
LTS Haskell 12.23:1.0.0
Stackage Nightly 2018-12-15:1.0.0
Latest on Hackage:1.0.0

See all snapshots siggy-chardust appears in

MPL-2.0 licensed by Phil de Joux
Maintained by phil.dejoux@blockscope.com

Module documentation for 1.0.0

There are no documented modules for this package.

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.

Changes

1.0.0

Initial version with;

  • dpRound for rounding rational numbers to decimal places.
  • sdRound for rounding rational numbers to significant digits.
Depends on 1 package:
Used by 2 packages:
comments powered byDisqus