ajout max for fixed point range

This commit is contained in:
hugogogo
2022-02-12 21:17:35 +01:00
parent 504f6c3524
commit 8bfe663683
4 changed files with 73 additions and 33 deletions

View File

@@ -4,16 +4,7 @@
int main( void ) {
Fixed a( 1 );
std::cout << a.getRawBits() << '\n';
Fixed b( 6 );
std::cout << b.getRawBits() << '\n';
Fixed c( -6 );
std::cout << c.getRawBits() << '\n';
Fixed d( -1 );
std::cout << d.getRawBits() << '\n';
Fixed const b( 1.5 );
// Fixed a;
// Fixed const b( 10 );