Crate astro_float_num

Source
Expand description

Astro-float (astronomically large floating point numbers) is a library that implements arbitrary precision floating point numbers.

See main crate docs.

Modules§

ctx
Context is used in expressions returning BigFloat.

Structs§

BigFloat
A floating point number of arbitrary precision.
Consts
Constants cache contains arbitrary-precision mathematical constants.

Enums§

Error
Possible errors.
Radix
Radix.
RoundingMode
Rounding modes.
Sign
Sign.

Constants§

EXPONENT_BIT_SIZE
The size of exponent type in bits.
EXPONENT_MAX
Maximum exponent value.
EXPONENT_MIN
Minimum exponent value.
INF_NEG
Negative infinity.
INF_POS
Positive infinity.
NAN
Not a number.
WORD_BASE
Base of words.
WORD_BIT_SIZE
Size of a word in bits.
WORD_MAX
Maximum value of a word.
WORD_SIGNIFICANT_BIT
Word with the most significant bit set.

Traits§

FromExt
A trait for conversion with additional arguments.

Type Aliases§

Exponent
An exponent.
Word
A word.