Expand description
Fracints
Note there are “rand_support” and “serde_support” features.
See the library documentation of awint_core for more information of how to deal with fixed point numbers.
See the README.md for more.
Modules§
Macros§
- fi8
- Literal conversion into the type. See
fiN::from_str
for the definition. - fi16
- Literal conversion into the type. See
fiN::from_str
for the definition. - fi32
- Literal conversion into the type. See
fiN::from_str
for the definition. - fi64
- Literal conversion into the type. See
fiN::from_str
for the definition. - fi128
- Literal conversion into the type. See
fiN::from_str
for the definition.
Structs§
- fi8
- Signed Fractional Integer of the unit range.
- fi16
- Signed Fractional Integer of the unit range.
- fi32
- Signed Fractional Integer of the unit range.
- fi64
- Signed Fractional Integer of the unit range.
- fi128
- Signed Fractional Integer of the unit range.
Enums§
- Fracint
Serde Error - The error enum used to specify what parsing error happened when parsing a fracint.
Traits§
- Fracint
- A common trait for a special case of fixed point numbers in the form of all fractional bits.
- Fracint
Double - Fracint
Half