34 static const int fractionalBits = 8;
bool operator>=(const Fixed &other) const
int getRawBits(void) const
bool operator<(const Fixed &other) const
void setRawBits(int const raw)
static Fixed & min(Fixed &a, Fixed &b)
static const Fixed & min(const Fixed &a, const Fixed &b)
static Fixed & max(Fixed &a, Fixed &b)
Fixed operator/(const Fixed &other) const
Fixed(const Fixed &other)
bool operator<=(const Fixed &other) const
bool operator>(const Fixed &other) const
bool operator==(const Fixed &other) const
Fixed & operator=(const Fixed &other)
Fixed operator-(const Fixed &other) const
static const Fixed & max(const Fixed &a, const Fixed &b)
Fixed operator*(const Fixed &other) const
Fixed operator+(const Fixed &other) const
float toFloat(void) const
bool operator!=(const Fixed &other) const
std::ostream & operator<<(std::ostream &o, const Fixed &fixed)
Overloads the output stream operator to insert the float representation of the fixed-point number int...