aboutsummaryrefslogtreecommitdiff
path: root/textproc/hs-double-conversion/pkg-descr
blob: 71059e5abe4deadc8482cdaef0b08d9386e1b83d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.

WWW: https://github.com/bos/double-conversion