Fract = 8
This commit is contained in:
@@ -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 );
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user