summaryrefslogtreecommitdiff
blob: af4a88b17cb6e420b49f2067840eb03552e2fb51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
		<name>Gentoo Haskell</name>
	</maintainer>
	<longdescription>
		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.
	</longdescription>
	<use>
		<flag name="bytestring-builder">
			Provide the Data.ByteString.Builder.Scientific
			module (requires bytestring &gt;= 0.10).
		</flag>
	</use>
	<upstream>
		<remote-id type="github">basvandijk/scientific</remote-id>
	</upstream>
</pkgmetadata>