|
Public Member Functions |
| XFcFixed () |
| XFcFixed (int aArg) |
| XFcFixed (INT8 aArg) |
| XFcFixed (UINT8 aArg) |
| XFcFixed (INT16 aArg) |
| XFcFixed (UINT16 aArg) |
| XFcFixed (INT32 aArg) |
| XFcFixed (UINT32 aArg) |
| XFcFixed (FLOAT32 aArg) |
| XFcFixed (FLOAT64 aArg) |
| XFcFixed (INT32 aArg, UINT32) |
| operator int () |
| operator INT8 () |
| operator UINT8 () |
| operator INT16 () |
| operator UINT16 () |
| operator INT32 () |
| operator UINT32 () |
| operator FLOAT32 () |
| operator FLOAT64 () |
XFcFixed | operator() (int aArg) |
XFcFixed | operator() (INT8 aArg) |
XFcFixed | operator() (UINT8 aArg) |
XFcFixed | operator() (INT32 aArg) |
XFcFixed | operator() (UINT32 aArg) |
XFcFixed | operator() (FLOAT32 aArg) |
XFcFixed | operator() (FLOAT64 aArg) |
XFcFixed & | operator+= (const XFcFixed &aArg) |
XFcFixed & | operator+= (int aArg) |
XFcFixed & | operator+= (INT32 aArg) |
XFcFixed & | operator+= (FLOAT32 aArg) |
XFcFixed & | operator+= (FLOAT64 aArg) |
XFcFixed & | operator-= (const XFcFixed &aArg) |
XFcFixed & | operator-= (int aArg) |
XFcFixed & | operator-= (INT32 aArg) |
XFcFixed & | operator-= (FLOAT32 aArg) |
XFcFixed & | operator-= (FLOAT64 aArg) |
XFcFixed & | operator *= (const XFcFixed &aArg) |
XFcFixed & | operator *= (int aArg) |
XFcFixed & | operator *= (INT32 aArg) |
XFcFixed & | operator *= (FLOAT32 aArg) |
XFcFixed & | operator *= (FLOAT64 aArg) |
XFcFixed | operator * (const XFcFixed &aArg) const |
XFcFixed | operator * (int aArg) const |
XFcFixed | operator * (INT32 aArg) const |
XFcFixed | operator * (FLOAT32 aArg) const |
XFcFixed | operator * (FLOAT64 aArg) const |
XFcFixed & | operator/= (const XFcFixed &aArg) |
XFcFixed & | operator/= (int aArg) |
XFcFixed & | operator/= (INT32 aArg) |
XFcFixed & | operator/= (FLOAT32 aArg) |
XFcFixed & | operator/= (FLOAT64 aArg) |
XFcFixed | operator/ (int aArg) const |
XFcFixed | operator/ (INT32 aArg) const |
XFcFixed | operator/ (FLOAT32 aArg) const |
XFcFixed | operator/ (FLOAT64 aArg) const |
INT32 | operator== (const XFcFixed &aArg) const |
INT32 | operator== (int aArg) const |
INT32 | operator== (INT32 aArg) const |
INT32 | operator== (FLOAT32 aArg) const |
INT32 | operator== (FLOAT64 aArg) const |
INT32 | operator!= (const XFcFixed &aArg) const |
INT32 | operator!= (int aArg) const |
INT32 | operator!= (INT32 aArg) const |
INT32 | operator!= (FLOAT32 aArg) const |
INT32 | operator!= (FLOAT64 aArg) const |
INT32 | operator> (const XFcFixed &aArg) const |
INT32 | operator> (int aArg) const |
INT32 | operator> (INT32 aArg) const |
INT32 | operator> (FLOAT32 aArg) const |
INT32 | operator> (FLOAT64 aArg) const |
INT32 | operator< (const XFcFixed &aArg) const |
INT32 | operator< (int aArg) const |
INT32 | operator< (INT32 aArg) const |
INT32 | operator< (FLOAT32 aArg) const |
INT32 | operator< (FLOAT64 aArg) const |
INT32 | operator>= (const XFcFixed &aArg) const |
INT32 | operator>= (int aArg) const |
INT32 | operator>= (INT32 aArg) const |
INT32 | operator>= (FLOAT32 aArg) const |
INT32 | operator>= (FLOAT64 aArg) const |
INT32 | operator<= (const XFcFixed &aArg) const |
INT32 | operator<= (int aArg) const |
INT32 | operator<= (INT32 aArg) const |
INT32 | operator<= (FLOAT32 aArg) const |
INT32 | operator<= (FLOAT64 aArg) const |
void | trunc () |
void | frac () |
XFcFixed | operator- () const |
void | setValue (INT32 aValue) |
INT32 | getValue () const |
Public Attributes |
INT32 | mValue |
Friends |
XFcFixed | operator+ (const XFcFixed &aFixed1, const XFcFixed &aFixed2) |
XFcFixed | operator+ (const XFcFixed &aFixed, int aArg) |
XFcFixed | operator+ (const XFcFixed &aFixed, INT32 aArg) |
XFcFixed | operator+ (const XFcFixed &aFixed, FLOAT32 aArg) |
XFcFixed | operator+ (const XFcFixed &aFixed, FLOAT64 aArg) |
XFcFixed | operator+ (int aInt, const XFcFixed &aFixed) |
XFcFixed | operator+ (INT32 aInt, const XFcFixed &aFixed) |
XFcFixed | operator+ (FLOAT32 aInt, const XFcFixed &aFixed) |
XFcFixed | operator+ (FLOAT64 aInt, const XFcFixed &aFixed) |
XFcFixed | operator- (const XFcFixed &aFixed1, const XFcFixed &aFixed2) |
XFcFixed | operator- (const XFcFixed &aFixed, int aArg) |
XFcFixed | operator- (const XFcFixed &aFixed, INT32 aArg) |
XFcFixed | operator- (const XFcFixed &aFixed, FLOAT32 aArg) |
XFcFixed | operator- (const XFcFixed &aFixed, FLOAT64 aArg) |
XFcFixed | operator- (int aInt, const XFcFixed &aFixed) |
XFcFixed | operator- (INT32 aInt, const XFcFixed &aFixed) |
XFcFixed | operator- (FLOAT32 aInt, const XFcFixed &aFixed) |
XFcFixed | operator- (FLOAT64 aInt, const XFcFixed &aFixed) |
XFcFixed | operator * (int aInt, const XFcFixed &aFixed) |
XFcFixed | operator * (INT32 aInt, const XFcFixed &aFixed) |
XFcFixed | operator * (FLOAT32 aFloat, const XFcFixed &aFixed) |
XFcFixed | operator * (FLOAT64 aDouble, const XFcFixed &aFixed) |
XFcFixed | operator/ (const XFcFixed &aArg1, const XFcFixed &aArg2) |
XFcFixed | operator/ (int aInt, const XFcFixed &aFixed) |
XFcFixed | operator/ (INT32 aInt, const XFcFixed &aFixed) |
XFcFixed | operator/ (FLOAT32 aFloat, const XFcFixed &aFixed) |
XFcFixed | operator/ (FLOAT64 aDouble, const XFcFixed &aFixed) |
INT32 | operator== (int aArg, const XFcFixed &aFixed) |
INT32 | operator== (INT32 aArg, const XFcFixed &aFixed) |
INT32 | operator== (FLOAT32 aArg, const XFcFixed &aFixed) |
INT32 | operator== (FLOAT64 aArg, const XFcFixed &aFixed) |
INT32 | operator!= (int aArg, const XFcFixed &aFixed) |
INT32 | operator!= (INT32 aArg, const XFcFixed &aFixed) |
INT32 | operator!= (FLOAT32 aArg, const XFcFixed &aFixed) |
INT32 | operator!= (FLOAT64 aArg, const XFcFixed &aFixed) |
INT32 | operator> (int aArg, const XFcFixed &aFixed) |
INT32 | operator> (INT32 aArg, const XFcFixed &aFixed) |
INT32 | operator> (FLOAT32 aArg, const XFcFixed &aFixed) |
INT32 | operator> (FLOAT64 aArg, const XFcFixed &aFixed) |
INT32 | operator< (int aArg, const XFcFixed &aFixed) |
INT32 | operator< (INT32 aArg, const XFcFixed &aFixed) |
INT32 | operator< (FLOAT32 aArg, const XFcFixed &aFixed) |
INT32 | operator< (FLOAT64 aArg, const XFcFixed &aFixed) |
INT32 | operator>= (int aArg, const XFcFixed &aFixed) |
INT32 | operator>= (INT32 aArg, const XFcFixed &aFixed) |
INT32 | operator>= (FLOAT32 aArg, const XFcFixed &aFixed) |
INT32 | operator>= (FLOAT64 aArg, const XFcFixed &aFixed) |
INT32 | operator<= (int aArg, const XFcFixed &aFixed) |
INT32 | operator<= (INT32 aArg, const XFcFixed &aFixed) |
INT32 | operator<= (FLOAT32 aArg, const XFcFixed &aFixed) |
INT32 | operator<= (FLOAT64 aArg, const XFcFixed &aFixed) |
Internally, the XFcFixed class uses 16.16 bit fixed point notation. Functionally it acts like a floating point value, and in most cases it is fully interchangeable with a float. Care has been taken to ensure proper inlining whenever neccessary, and expensive operations have assembler-optimized versions under ARM platforms.