summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-scientific/README
blob: aad3a8cc712dfb8f07cbe94ad2fb867d359a9cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Arbitrary-precision floating-point numbers represented using
scientific notation.

A Scientific number is an arbitrary-precision floating-point number
represented using scientific notation.

A scientific number with coefficient c and base10Exponent e
corresponds to the Fractional number: fromInteger c * 10 ^^ e

Its primary use-case is to serve as the target of parsing floating
point numbers. Since the textual representation of floating point
numbers use scientific notation they can be efficiently parsed to a
Scientific number.

After uninstalling, run this command to unregister the package from
the ghc package database:   ghc-pkg recache