ajout max for fixed point range
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user