Spacing and style
This commit is contained in:
parent
380d51d05a
commit
03c9c1b642
32
fixed.hpp
32
fixed.hpp
@ -41,25 +41,25 @@ class fixed {
|
|||||||
float to_float (void) const;
|
float to_float (void) const;
|
||||||
integral_type to_integral (void) const;
|
integral_type to_integral (void) const;
|
||||||
|
|
||||||
fixed<INT,FRAC>& operator +=(const fixed<INT,FRAC>);
|
fixed<INT, FRAC>& operator +=(const fixed<INT, FRAC>);
|
||||||
fixed<INT,FRAC>& operator -=(const fixed<INT,FRAC>);
|
fixed<INT, FRAC>& operator -=(const fixed<INT, FRAC>);
|
||||||
fixed<INT,FRAC>& operator *=(const fixed<INT,FRAC>);
|
fixed<INT, FRAC>& operator *=(const fixed<INT, FRAC>);
|
||||||
fixed<INT,FRAC>& operator /=(const fixed<INT,FRAC>);
|
fixed<INT, FRAC>& operator /=(const fixed<INT, FRAC>);
|
||||||
|
|
||||||
fixed<INT,FRAC> operator +(const fixed<INT,FRAC>) const;
|
fixed<INT, FRAC> operator +(const fixed<INT, FRAC>) const;
|
||||||
fixed<INT,FRAC> operator -(const fixed<INT,FRAC>) const;
|
fixed<INT, FRAC> operator -(const fixed<INT, FRAC>) const;
|
||||||
fixed<INT,FRAC> operator *(const fixed<INT,FRAC>) const;
|
fixed<INT, FRAC> operator *(const fixed<INT, FRAC>) const;
|
||||||
fixed<INT,FRAC> operator /(const fixed<INT,FRAC>) const;
|
fixed<INT, FRAC> operator /(const fixed<INT, FRAC>) const;
|
||||||
|
|
||||||
fixed<INT,FRAC>& operator +=(integral_type);
|
fixed<INT, FRAC>& operator +=(integral_type);
|
||||||
fixed<INT,FRAC>& operator -=(integral_type);
|
fixed<INT, FRAC>& operator -=(integral_type);
|
||||||
fixed<INT,FRAC>& operator *=(integral_type);
|
fixed<INT, FRAC>& operator *=(integral_type);
|
||||||
fixed<INT,FRAC>& operator /=(integral_type);
|
fixed<INT, FRAC>& operator /=(integral_type);
|
||||||
|
|
||||||
fixed<INT,FRAC> operator +(integral_type) const;
|
fixed<INT, FRAC> operator +(integral_type) const;
|
||||||
fixed<INT,FRAC> operator -(integral_type) const;
|
fixed<INT, FRAC> operator -(integral_type) const;
|
||||||
fixed<INT,FRAC> operator *(integral_type) const;
|
fixed<INT, FRAC> operator *(integral_type) const;
|
||||||
fixed<INT,FRAC> operator /(integral_type) const;
|
fixed<INT, FRAC> operator /(integral_type) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __UTIL_FIXED_HPP
|
#endif // __UTIL_FIXED_HPP
|
||||||
|
Loading…
Reference in New Issue
Block a user