Expand description
Modulesยง
- iter_
sum_ ๐product - opassign ๐
- pow ๐
Macrosยง
- arith_
impl ๐ - checked_
arith_ ๐impl - forward_
all_ ๐binop - forward_
ref_ ๐ref_ binop - forward_
ref_ ๐val_ binop - forward_
val_ ๐ref_ binop - from_
primitive_ ๐integer - impl_
formatting ๐
Structsยง
- Parse
Ratio Error - Ratio
- Represents the ratio between two numbers.
Enumsยง
- Ratio
Error ๐Kind
Traitsยง
- Bits ๐
Functionsยง
- approximate_
float ๐ - approximate_
float_ ๐unsigned - ldexp ๐
- Multiply
x
by 2 to the power ofexp
. Returns an accurate result even if2^exp
is not representable. - ratio_
to_ ๐f64 - Converts a ratio of
T
to an f64.
Type Aliasesยง
- BigRational
- Alias for arbitrary precision rationals.
- Rational
Deprecated - Alias for a
Ratio
of machine-sized integers. - Rational32
- Alias for a
Ratio
of 32-bit-sized integers. - Rational64
- Alias for a
Ratio
of 64-bit-sized integers.