summaryrefslogtreecommitdiff
path: root/haskell/haskell-scientific/README
diff options
context:
space:
mode:
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 0000000000..aad3a8cc71
--- /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