The double-conversion package

[Tags: bsd3, library]

A library that performs fast, accurate conversion between double precision floating point and text.

This library is implemented as bindings to the C++ double-conversion library written by Florian Loitsch at Google: http://code.google.com/p/double-conversion/.

The Text versions of these functions are about 30 times faster than the default show implementation for the Double type.

The ByteString versions are slower than the Text versions; roughly half the speed. (This seems to be due to the cost of allocating ByteString values via malloc.)

As a final note, be aware that the bytestring-show package is about 50% slower than simply using show.


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 2.0.1.0
Change logNone available
Dependenciesbase (==4.*), bytestring, ghc-prim, integer (==0.1.*), integer-gmp (>=0.2), text (>=0.11.0.8) [details]
LicenseBSD3
AuthorBryan O'Sullivan <bos@serpentine.com>
MaintainerBryan O'Sullivan <bos@serpentine.com>
Stabilityexperimental
CategoryText
Home pagehttps://github.com/bos/double-conversion
Bug trackerhttps://github.com/bos/double-conversion/issues
Source repositoryhead: git clone https://github.com/bos/double-conversion
head: hg clone https://bitbucket.org/bos/double-conversion
UploadedSat Aug 25 04:10:20 UTC 2012 by BryanOSullivan
DistributionsFreeBSD:0.2.0.6, LTSHaskell:2.0.1.0, NixOS:2.0.1.0, Stackage:2.0.1.0
Downloads10097 total (439 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefault
developeroperate in developer modeDisabled

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

Readme for double-conversion-0.2.0.5

Welcome to double-conversion

double-conversion is a fast Haskell library for converting between double precision floating point numbers and text strings. It is implemented as a binding to the V8-derived C++ double-conversion library.

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

There's also a Mercurial mirror:

(You can create and contribute changes using either git or Mercurial.)

Authors

This library is written and maintained by Bryan O'Sullivan, bos@serpentine.com.