Nothing done
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/10 00:54:50 by tigos #+# #+# */
|
||||
/* Updated: 2025/09/12 13:08:05 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/09/12 13:13:00 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -79,7 +79,9 @@ int Fixed::toInt( void ) const
|
||||
return (this->value >> this->fract);
|
||||
}
|
||||
|
||||
|
||||
// · Comparison operators
|
||||
|
||||
bool Fixed::operator<(const Fixed &other) const
|
||||
{
|
||||
return (this->value < other.getRawBits());
|
||||
@@ -110,7 +112,9 @@ bool Fixed::operator!=(const Fixed &other) const
|
||||
return (this->value != other.getRawBits());
|
||||
}
|
||||
|
||||
|
||||
// · Arithmetic operators
|
||||
|
||||
Fixed Fixed::operator+(Fixed const &other) const
|
||||
{
|
||||
Fixed res;
|
||||
@@ -152,6 +156,7 @@ Fixed Fixed::operator/(Fixed const &other) const
|
||||
return (res);
|
||||
}
|
||||
|
||||
|
||||
// · Increments / decrements
|
||||
|
||||
Fixed& Fixed::operator++()
|
||||
|
||||
Reference in New Issue
Block a user