overload operators en cours
This commit is contained in:
@@ -16,13 +16,18 @@ public:
|
||||
Fixed(float const floater);
|
||||
|
||||
Fixed & operator= (Fixed const & rhs); // assignement operator
|
||||
// Fixed operator+ (Fixed const & rhs) const;
|
||||
bool operator< (Fixed const & rhs) const;
|
||||
// Fixed operator> (Fixed const & rhs) const;
|
||||
// Fixed operator<=(Fixed const & rhs) const;
|
||||
// Fixed operator>=(Fixed const & rhs) const;
|
||||
// Fixed operator==(Fixed const & rhs) const;
|
||||
// Fixed operator!=(Fixed const & rhs) const;
|
||||
bool operator> (Fixed const & rhs) const;
|
||||
bool operator<=(Fixed const & rhs) const;
|
||||
bool operator>=(Fixed const & rhs) const;
|
||||
bool operator==(Fixed const & rhs) const;
|
||||
bool operator!=(Fixed const & rhs) const;
|
||||
Fixed operator+ (Fixed const & rhs) const;
|
||||
Fixed operator- (Fixed const & rhs) const;
|
||||
Fixed operator* (Fixed const & rhs) const;
|
||||
Fixed operator/ (Fixed const & rhs) const;
|
||||
// void operator++(void);
|
||||
// void operator--(void);
|
||||
|
||||
int getRawBits(void) const;
|
||||
void setRawBits(int const raw);
|
||||
|
||||
Reference in New Issue
Block a user