34 static const int fractionalBits = 8;
bool operator>=(const Fixed &other) const
Overloads the greater-than-or-equal-to operator.
int getRawBits(void) const
bool operator<(const Fixed &other) const
Overloads the less-than operator.
void setRawBits(int const raw)
Fixed & operator--()
Overloads the pre-decrement operator.
Fixed operator/(const Fixed &other) const
Overloads the division operator.
Fixed(const Fixed &other)
bool operator<=(const Fixed &other) const
Overloads the less-than-or-equal-to operator.
bool operator>(const Fixed &other) const
Overloads the greater-than operator.
bool operator==(const Fixed &other) const
Overloads the equality operator.
Fixed & operator=(const Fixed &other)
Fixed operator-(const Fixed &other) const
Overloads the subtraction operator.
Fixed operator*(const Fixed &other) const
Overloads the multiplication operator.
Fixed & operator++()
Overloads the pre-increment operator.
Fixed operator+(const Fixed &other) const
Overloads the addition operator.
float toFloat(void) const
bool operator!=(const Fixed &other) const
Overloads the inequality operator.
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...