Expand description
Fixed point number implementation for representing non integers efficiently.
Macros§
- Can be thought of having the signature
num!(float) -> Num<I, N>
.
Structs§
- A fixed point number represented using
I
withN
bits of fractional precision - A rectangle with a position in 2d space and a 2d size
- A vector of two points: (x, y) represented by integers or fixed point numbers
Traits§
- Trait for an integer that includes negation
- A trait for integers that don’t implement unary negation
- A trait for everything required to use as the internal representation of the fixed point number.
Type Aliases§
- An often convenient representation for the Game Boy Advance using word sized internal representation for maximum efficiency