The latest version of rounded is 1.1.1-0.

rounded

Version 0.1.0.1 revision 0 uploaded by ClaudeHeilandAllen.

Package meta

Synopsis
Correctly-rounded arbitrary-precision floating-point arithmetic
Description

This package provides numeric instances for MPFR that use "Implicit Configurations" from http://www.cs.rutgers.edu/~ccshan/prepose/prepose.pdf to choose a Rounding and Precision. For those that do not want to use reflection, explicit instances are provided for common precisions and for the built-in rounding modes.

This package should work correctly with GHC 7.10.1 or later.

>>> import Numeric.Rounded
>>> :set -XDataKinds
>>> exp pi :: Rounded TowardZero 512
23.140692632779269005729086367948547380266106242600211993445046409524342350690452783516971997067549219675952704801087773144428044414693835844717445879609842
Author
Edward A. Kmett, Daniel G. Peebles, Claude Heiland-Allen
Bug reports
https://github.com/ekmett/rounded/issues
Category
Numeric, Math
Copyright
Copyright (C) 2012-2014 Edward A. Kmett, Daniel G. Peebles; Copyright (C) 2013-2018 Claude Heiland-Allen
Homepage
https://github.com/ekmett/rounded
Maintainer
Claude Heiland-Allen <claude@mathr.co.uk>
Package URL
n/a
Stability
n/a

Components