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