The floatshow package

[Tags: bsd3, library]

The String representations provided by this package are generally longer than show's output, which constructs the shortest string that is parsed as the original number by read. This requires some time-consuming checks, so show is slow for floating-point numbers. By producing a digit-string guaranteed to be long enough to uniquely determine the number without caring whether there's a shorter representation, the display functions of this package can be faster, sometimes by a big margin. Text.FShow.Raw provides building blocks for representations of numeric types which don't belong to RealFloat but have some of its functionality. The bulk of the code is a minor modification of code from the base package, whence the GHC License is included as an extra-source-file.


Properties

Versions0.1, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4
Dependenciesarray (>=0.1 && <0.4), base (==4.*), integer-gmp or
array (>=0.1 && <0.4), base (==4.*), integer-simple
LicenseBSD3
Copyright(c) 2011 Daniel Fischer
AuthorDaniel Fischer
Maintainerdaniel.is.fischer@googlemail.com
CategoryText
Home pagehttps://bitbucket.org/dafis/floatshow
Bug trackerhttps://bitbucket.org/dafis/floatshow/issues
Source repositoryhead: hg clone https://bitbucket.org/dafis/floatshow
Upload dateMon May 23 10:51:39 UTC 2011
Uploaded byDanielFischer
Downloads699 total (67 in last 30 days)

Modules

[Index]

Flags

NameDescriptionDefault
gmpUse integer-gmpEnabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees