| 1234567891011121314151617181920212223242526272829303132 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* Fixed.class.hpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/07/16 15:46:39 by bchanot #+# #+# */
- /* Updated: 2025/07/17 15:24:37 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;
- };
- #endif
|