blob: af4a88b17cb6e420b49f2067840eb03552e2fb51 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "">
<maintainer type="project">
<name>Gentoo Haskell</name>
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.
<flag name="bytestring-builder">
Provide the Data.ByteString.Builder.Scientific
module (requires bytestring &gt;= 0.10).
<remote-id type="github">basvandijk/scientific</remote-id>