Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (2h)  pkgsrc-2024Q1 (10d)  pkgsrc-2023Q4 (57d)  pkgsrc-2023Q2 (89d)  pkgsrc-2023Q3 (169d) 

2024-05-27 18:30:11 UTC Now

2014-05-31 21:31:57 UTC MAIN commitmail json YAML

Import scientific-0.2.0.2 as math/hs-scientific,
packaged for wip.

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.

(szptvlfn)