double-conversion: Fast conversion between single and double precision floating point and text
A library that performs fast, accurate conversion between floating point and text.
This library is implemented as bindings to the C++
double-conversion library written by Florian Loitsch at Google:
Now it can convert single precision numbers, and also it can create Builder, instead of bytestring or text.
Text versions of these functions are about 30 times faster
than the default
show implementation for the
ByteString versions are have very close speed to the
Builder versions (both for Text and Bytestring) are slower on single value, but they are much faster on large number of values (up to 20x faster on list with 20000 doubles).
As a final note, be aware that the
bytestring-show package is
about 50% slower than simply using
[Skip to Readme]
operate in developer mode
embed the C++ double_conversion library
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
- double-conversion-188.8.131.52.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
|Versions [RSS]||0.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, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52 (info)|
|Dependencies||base (>=4.7 && <5), bytestring, ghc-prim, system-cxx-std-lib (==1.0), text (>=0.11.0.8) [details]|
|Author||Bryan O'Sullivan <email@example.com>|
|Maintainer||Bryan O'Sullivan <firstname.lastname@example.org>|
|Revised||Revision 2 made by AndreasAbel at 2022-12-15T12:37:23Z|
|Source repo||head: git clone https://github.com/haskell/double-conversion|
|Uploaded||by Haskell_Mouse at 2022-12-15T03:55:08Z|
|Distributions||Arch:184.108.40.206, Debian:220.127.116.11, Fedora:18.104.22.168, FreeBSD:22.214.171.124, LTSHaskell:126.96.36.199, NixOS:188.8.131.52, Stackage:184.108.40.206|
|Reverse Dependencies||33 direct, 7651 indirect [details]|
|Downloads||47788 total (18 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]