diff options
author | Jan-willem De Bleser <jw@thescrapyard.org> | 2021-02-06 08:28:25 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-02-07 01:39:52 +0700 |
commit | 2268ed28dc0d04ee4e13c911c12d522df0c2dc3b (patch) | |
tree | f3814c74a1b8c82717ef3070d2e49008b9f4f48e /haskell/haskell-double-conversion/README | |
parent | e59a3af7ae545dfcb68769d292e299a3b13a46c4 (diff) |
haskell/haskell-double-conversion: Added (convert float/strings)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-double-conversion/README')
-rw-r--r-- | haskell/haskell-double-conversion/README | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/haskell/haskell-double-conversion/README b/haskell/haskell-double-conversion/README new file mode 100644 index 0000000000000..02c9f9af43e1a --- /dev/null +++ b/haskell/haskell-double-conversion/README @@ -0,0 +1,16 @@ +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: +https://github.com/floitsch/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. |