#include <C4Real.h>
Public Member Functions | |
C4Fixed ()=default | |
C4Fixed (const C4Fixed &)=default | |
C4Fixed & | operator= (int32_t x) |
operator bool () const | |
bool | operator! () const |
C4Fixed & | operator+= (const C4Fixed &fVal2) |
C4Fixed & | operator-= (const C4Fixed &fVal2) |
C4Fixed & | operator*= (const C4Fixed &fVal2) |
C4Fixed & | operator*= (int32_t iVal2) |
C4Fixed & | operator/= (const C4Fixed &fVal2) |
C4Fixed & | operator/= (int32_t iVal2) |
C4Fixed | operator- () const |
C4Fixed | operator+ () const |
bool | operator== (const C4Fixed &fVal2) const |
bool | operator< (const C4Fixed &fVal2) const |
bool | operator> (const C4Fixed &fVal2) const |
bool | operator<= (const C4Fixed &fVal2) const |
bool | operator>= (const C4Fixed &fVal2) const |
bool | operator!= (const C4Fixed &fVal2) const |
C4Fixed & | operator+= (int32_t iVal2) |
C4Fixed & | operator-= (int32_t iVal2) |
C4Fixed | operator+ (const C4Fixed &fVal2) const |
C4Fixed | operator- (const C4Fixed &fVal2) const |
C4Fixed | operator* (const C4Fixed &fVal2) const |
C4Fixed | operator/ (const C4Fixed &fVal2) const |
C4Fixed | operator+ (int32_t iVal2) const |
C4Fixed | operator- (int32_t iVal2) const |
C4Fixed | operator* (int32_t iVal2) const |
C4Fixed | operator/ (int32_t iVal2) const |
C4Fixed | operator+ (float iVal2) const |
C4Fixed | operator- (float iVal2) const |
C4Fixed | operator* (float iVal2) const |
C4Fixed | operator/ (float iVal2) const |
bool | operator== (int32_t iVal2) const |
bool | operator< (int32_t iVal2) const |
bool | operator> (int32_t iVal2) const |
bool | operator<= (int32_t iVal2) const |
bool | operator>= (int32_t iVal2) const |
bool | operator!= (int32_t iVal2) const |
bool | operator== (float iVal2) const |
bool | operator< (float iVal2) const |
bool | operator> (float iVal2) const |
bool | operator<= (float iVal2) const |
bool | operator>= (float iVal2) const |
bool | operator!= (float iVal2) const |
C4Fixed | sin_deg () const |
C4Fixed | cos_deg () const |
Public Attributes | |
int32_t | val |
Friends | |
int | fixtoi (const C4Fixed &x) |
int | fixtoi (const C4Fixed &x, int32_t prec) |
C4Fixed | itofix (int32_t x) |
C4Fixed | itofix (int32_t x, int32_t prec) |
float | fixtof (const C4Fixed &x) |
C4Fixed | ftofix (float x) |
void | CompileFunc (C4Fixed &rValue, StdCompiler *pComp) |
|
inlinedefault |
Referenced by operator!=(), operator*(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator<(), operator<=(), operator=(), operator==(), operator>(), and operator>=().
|
inlinedefault |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Definition at line 215 of file C4Real.h.
References C4Fixed(), and operator!=().
|
inline |
Definition at line 208 of file C4Real.h.
References C4Fixed(), and operator!=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 185 of file C4Real.h.
References C4Fixed(), and operator+=().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 186 of file C4Real.h.
References C4Fixed(), and operator-=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 211 of file C4Real.h.
References C4Fixed(), and operator<().
|
inline |
Definition at line 204 of file C4Real.h.
References C4Fixed(), and operator<().
|
inline |
|
inline |
Definition at line 213 of file C4Real.h.
References C4Fixed(), and operator<=().
|
inline |
Definition at line 206 of file C4Real.h.
References C4Fixed(), and operator<=().
|
inline |
|
inline |
|
inline |
Definition at line 210 of file C4Real.h.
References C4Fixed(), and operator==().
|
inline |
Definition at line 203 of file C4Real.h.
References C4Fixed(), and operator==().
|
inline |
|
inline |
Definition at line 212 of file C4Real.h.
References C4Fixed(), and operator>().
|
inline |
Definition at line 205 of file C4Real.h.
References C4Fixed(), and operator>().
|
inline |
|
inline |
Definition at line 214 of file C4Real.h.
References C4Fixed(), and operator>=().
|
inline |
Definition at line 207 of file C4Real.h.
References C4Fixed(), and operator>=().
|
inline |
|
friend |
Definition at line 9033 of file C4Real.cpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
int32_t C4Fixed::val |
Definition at line 73 of file C4Real.h.
Referenced by C4REAL256(), cos_deg(), operator bool(), operator!(), operator!=(), operator*=(), operator+=(), operator-(), operator-=(), operator/=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and sin_deg().