1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
6 A @Scientific@ number is an arbitrary-precision floating-point number
7 represented using scientific notation.
9 A scientific number with 'coefficient' @c@ and
10 'base10Exponent' @e@ corresponds to the
11 'Fractional' number: @'fromInteger' c * 10 '^^' e@
13 Its primary use-case is to serve as the target of
14 parsing floating point numbers. Since the textual
15 representation of floating point numbers use
16 scientific notation they can be efficiently
17 parsed to a @Scientific@ number.
20 <flag name="bytestring-builder">Provide the
21 Data.ByteString.Builder.Scientific module (requires bytestring >= 0.10).</flag>
24 <remote-id type="github">basvandijk/scientific</remote-id>