@hackage scientific0.2.0.2
Arbitrary-precision floating-point numbers represented using scientific notation
Installation
Dependencies (4)
Dependents (648)
@hackage/pgmq-hasql, @hackage/fontconfig-pure, @hackage/notion-client, @hackage/opentelemetry-lightstep, @hackage/poseidon-postgis, @hackage/algolia, Show all…
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.