29 lines
1.1 KiB
C++
29 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/09/10 00:54:19 by tigos #+# #+# */
|
|
/* Updated: 2025/09/10 01:05:59 by aortigos ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "Fixed/Fixed.hpp"
|
|
|
|
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);
|
|
|
|
} |