/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Fixed.class.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/07/16 16:07:34 by bchanot #+# #+# */ /* Updated: 2025/07/16 16:43:03 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "Fixed.class.hpp" #include Fixed::Fixed(void) : _value(0), _integer(8) { std::cout << "Default constructor called" << std::endl; return ; } Fixed::Fixed(Fixed const &src) { *this = src; std::cout << "Copy constructor called" << std::endl; return ; } Fixed::~Fixed(void) { std::cout << "Destructor called" << std::endl; return ; } int getRawBits(void) const { return this->_value; } void setRawBits(int const raw) Fixed &operator=(Fixed const &rhs);