BSD Ports

math/hs-scientific 0.3.8.0nb3 NetBSD

Numbers represented using scientific notation

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
math
Package size
329.1 KiB, 3580.1 KiB installed

Description

Data.Scientific provides a space efficient and arbitrary precision scientific number type.

Scientific numbers are represented using scientific notation. It uses a coefficient c :: Integer and a base-10 exponent e :: Int (do note that since we're using an Int to represent the exponent these numbers aren't truly arbitrary precision). A scientific number corresponds to the Fractional number: fromInteger c * 10 ^^ e.

Install

Binary package:

pkgin install hs-scientific

From pkgsrc:

cd /usr/pkgsrc/math/hs-scientific && make install clean

Dependencies

Run dependencies 4