summaryrefslogtreecommitdiff
blob: daae8a6b6d4f4e5f1e4bef2facf5af2dd4c86396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<herd>haskell</herd>
	<longdescription>
		A @Scientific@ number is an arbitrary-precision floating-point number
		represented using scientific notation.
		
		A scientific number with &#39;coefficient&#39; @c@ and
		&#39;base10Exponent&#39; @e@ corresponds to the
		&#39;Fractional&#39; number: @&#39;fromInteger&#39; c * 10 &#39;^^&#39; 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.
	</longdescription>
	<use>
	  <flag name="bytestring-builder">Provide the
          Data.ByteString.Builder.Scientific module (requires bytestring >= 0.10).</flag>
	</use>
</pkgmetadata>