| 12345678910111213141516171819202122232425262728293031 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* Fixed.class.hpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/07/16 15:46:39 by bchanot #+# #+# */
- /* Updated: 2025/07/16 16:14:21 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #ifndef FIXED_CLASS_H
- # define FIXED_CLASS_H
- class Fixed {
- public:
- Fixed(void);
- Fixed(Fixed const &src);
- ~Fixed(void);
- int getRawBits(void) const;
- void setRawBits(int const raw);
- Fixed &operator=(Fixed const &rhs);
- private:
- int _value;
- int const _integer;
- };
- #ifndef
|