diff options
author | pgj <pgj@FreeBSD.org> | 2011-08-15 01:46:17 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2011-08-15 01:46:17 +0800 |
commit | 71a7e34969c5fc4778fd651f4e988733aaaab49e (patch) | |
tree | 5e7cafbc821605528098dbfb790fb3b9ac6a4b5c /lang/ghc | |
parent | 6065f122fbe08ccc957ac0886b79659e1304d7ae (diff) | |
download | freebsd-ports-gnome-71a7e34969c5fc4778fd651f4e988733aaaab49e.tar.gz freebsd-ports-gnome-71a7e34969c5fc4778fd651f4e988733aaaab49e.tar.zst freebsd-ports-gnome-71a7e34969c5fc4778fd651f4e988733aaaab49e.zip |
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: http://github.com/mailrank/double-conversion
Obtained from: FreeBSD Haskell
Diffstat (limited to 'lang/ghc')
-rw-r--r-- | lang/ghc/bsd.hackage.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index 3675d74f1734..c389381a04ad 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -61,6 +61,7 @@ digest_port= security/hs-digest directory-tree_port= devel/hs-directory-tree distributive_port= math/hs-distributive dlist_port= devel/hs-dlist +double-conversion_port= textproc/hs-double-conversion enumerator_port= devel/hs-enumerator erf_port= math/hs-erf fastcgi_port= www/hs-fastcgi # lib_depends |