wip/hs-double-conversion 0.2.0.6 NetBSD
Fast conversion between double precision floating point and text
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- wip, devel
Description
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.)
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | wip/hs-double-conversion | 0.2.0.6 |
| FreeBSD | devel/double-conversion | 3.4.0 |
| OpenBSD | math/double-conversion | 3.3.0 |
| DragonFly | devel/double-conversion | 3.3.1 |
| MidnightBSD | devel/double-conversion | 3.1.5.19 |
| HardenedBSD | devel/double-conversion | 3.4.0 |
| GhostBSD | devel/double-conversion | 3.4.0 |
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/hs-double-conversion && make install clean
Dependencies
No port depends on this one.