Name: variable-precision
Version: 0.3.1
Synopsis: variable-precision floating point
Description:
Software floating point with type-tagged variable mantissa precision,
implemented using a strict pair of 'Integer' and 'Int' scaled alike
to 'decodeFloat'. Version 0.2.1 added a fixed point number type.
.
Instances of the usual numeric type classes are provided, along with
additional operators (with carefully chosen fixities) to coerce,
adjust and reify precisions.
.
The intention with this library is to be relatively simple but still
useful, refer to the documentation for caveats concerning accuracy and
assorted ill-behaviour.
.
Usage with ghc(i)-7.0.4 might require @-fcontext-stack=100@.
Homepage: https://gitorious.org/variable-precision
License: BSD3
License-file: LICENSE
Author: Claude Heiland-Allen
Maintainer: claude@mathr.co.uk
Copyright: (c) 2012 Claude Heiland-Allen
Category: Math
Build-type: Simple
Cabal-version: >=1.6
Extra-source-files:
CHANGES
README
THANKS
TODO
pure/Numeric/VariablePrecision/Integer/Logarithm.hs
fast/Numeric/VariablePrecision/Integer/Logarithm.hs
Flag fast
Description: Enable optimisations requiring recent integer-gmp
Default: True
Library
Exposed-modules:
Numeric.VariablePrecision
Numeric.VariablePrecision.Algorithms
Numeric.VariablePrecision.Fixed
Numeric.VariablePrecision.Float
Numeric.VariablePrecision.Complex
Numeric.VariablePrecision.Precision
Numeric.VariablePrecision.Precision.Reify
Numeric.VariablePrecision.Aliases
TypeLevel.NaturalNumber.ExtraNumbers
Other-modules:
Numeric.VariablePrecision.Integer.Logarithm
Build-depends:
base >= 3 && < 6,
complex-generic >= 0.1.1 && < 0.2,
floatshow >= 0.2 && < 0.3,
type-level-natural-number >= 1 && < 2
if (!flag(fast))
HS-source-dirs: . pure
if ( flag(fast))
HS-source-dirs: . fast
Build-depends: integer-gmp >= 0.4
GHC-Options: -Wall -fcontext-stack=100
GHC-Prof-Options: -prof -auto-all -caf-all
source-repository head
type: git
location: git://gitorious.org/variable-precision/variable-precision.git
source-repository this
type: git
location: git://gitorious.org/variable-precision/variable-precision.git
tag: v0.3.1