30 lines
1.1 KiB
C++
30 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: lfirmin <lfirmin@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/07/02 12:25:45 by lfirmin #+# #+# */
|
|
/* Updated: 2025/07/16 14:42:17 by lfirmin ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include <iostream>
|
|
#include "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;
|
|
}
|