/* ************************************************************************** */ /* */ /* :::::::: */ /* Fixed.hpp :+: :+: */ /* +:+ */ /* By: whaffman +#+ */ /* +#+ */ /* Created: 2025/03/24 15:22:48 by whaffman #+# #+# */ /* Updated: 2025/03/24 15:24:23 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ class Fixed { public: Fixed(); Fixed(const Fixed &fixed); ~Fixed(); Fixed &operator=(const Fixed &fixed); int getRawBits(void) const; void setRawBits(int const raw); private: int fixedPointValue; static const int fractionalBits = 8; };