BSD Ports

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

SystemPortVersion
NetBSDwip/hs-double-conversion0.2.0.6
FreeBSDdevel/double-conversion3.4.0
OpenBSDmath/double-conversion3.3.0
DragonFlydevel/double-conversion3.3.1
MidnightBSDdevel/double-conversion3.1.5.19
HardenedBSDdevel/double-conversion3.4.0
GhostBSDdevel/double-conversion3.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.