| 12345678910111213141516171819202122232425262728 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* main.cpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/07/17 15:10:40 by bchanot #+# #+# */
- /* Updated: 2025/07/17 15:11:09 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "Fixed.class.hpp"
- #include <iostream>
- int main( void ) {
- Fixed a;
- Fixed b( a );
- Fixed c;
- c = b;
- std::cout << a.getRawBits() << std::endl;
- std::cout << b.getRawBits() << std::endl;
- std::cout << c.getRawBits() << std::endl;
- return 0;
- }
|