Fract = 8

This commit is contained in:
2025-09-10 22:04:00 +02:00
parent 1b0cebadb0
commit 1bc2ed6af6

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/10 00:54:53 by tigos #+# #+# */
/* Updated: 2025/09/10 11:00:19 by aortigos ### ########.fr */
/* Updated: 2025/09/10 21:56:47 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,7 +20,7 @@ class Fixed
{
private:
int value;
static const int fract;
static const int fract = 8;
public:
// Default constructor
@@ -35,8 +35,10 @@ class Fixed
// Destructor
~Fixed();
// getRawBits
int getRawBits( void ) const;
// setRawBits
void setRawBits( int const raw );
};