Module sp_arithmetic::fixed_point
source · Expand description
Decimal Fixed Point implementations for Substrate runtime.
Structs§
- A fixed point number representation in the range. Fixed Point 64 bits signed, range = [-9223372036.854775808, 9223372036.854775807]
- A fixed point number representation in the range. Fixed Point 128 bits signed, range = [-170141183460469231731.687303715884105728, 170141183460469231731.687303715884105727]
- A fixed point number representation in the range. Fixed Point 64 bits unsigned, range = [0.000000000, 18446744073.709551615]
- A fixed point number representation in the range. Fixed Point 128 bits unsigned, range = [0.000000000000000000, 340282366920938463463.374607431768211455]
Traits§
- Something that implements a decimal fixed point number.
- Integer types that can be used to interact with
FixedPointNumber
implementations.