aboutsummaryrefslogtreecommitdiff
path: root/haskell/haskell-scientific/README
diff options
context:
space:
mode:
authorJose Lopes <jabolopes@google.com>2014-01-17 09:08:26 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:04 -0600
commit5b544f3b3042f8dc070e858a3cd4968d04660c9d (patch)
tree7e123b2a089f74ee5de49b9b8f2110c65630f32a /haskell/haskell-scientific/README
parent3194b89f9d5830f84cbb2a37653281388886b768 (diff)
haskell/haskell-scientific: Added (precision floating-point).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'haskell/haskell-scientific/README')
-rw-r--r--haskell/haskell-scientific/README16
1 files changed, 16 insertions, 0 deletions
diff --git a/haskell/haskell-scientific/README b/haskell/haskell-scientific/README
new file mode 100644
index 000000000000..aad3a8cc712d
--- /dev/null
+++ b/haskell/haskell-scientific/README
@@ -0,0 +1,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