The floatshow package
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. 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
| Versions | 0.1, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3 |
|---|---|
| Dependencies | array (≥0.1 & <0.4), base (4.*), integer-gmp or array (≥0.1 & <0.4), base (4.*), integer-simple |
| License | BSD3 |
| Copyright | (c) 2011 Daniel Fischer |
| Author | Daniel Fischer |
| Maintainer | daniel.is.fischer@googlemail.com |
| Category | Text |
| Home page | https://bitbucket.org/dafis/floatshow |
| Bug tracker | https://bitbucket.org/dafis/floatshow/issues |
| Source repository | hg clone https://bitbucket.org/dafis/floatshow |
| Upload date | Mon Apr 18 20:57:38 UTC 2011 |
| Uploaded by | DanielFischer |
| Built on | ghc-7.0 |
Modules
- Text
- FShow
Downloads
- floatshow-0.1.tar.gz (Cabal source package)
- package description (included in the package)