/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/07/17 15:10:40 by bchanot #+# #+# */ /* Updated: 2025/07/17 18:53:18 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "Fixed.class.hpp" #include int main( void ) { Fixed a; Fixed const b( Fixed( 5.05f ) * Fixed( 2 ) ); std::cout << a << std::endl; std::cout << ++a << std::endl; std::cout << a << std::endl; std::cout << a++ << std::endl; std::cout << a << std::endl; std::cout << b << std::endl; std::cout << Fixed::max( a, b ) << std::endl; return 0; }