![]() |
Pioneer
|
#include <fixed.h>
Public Member Functions | |
| fixedf () | |
| constexpr | fixedf (Sint64 raw) |
| constexpr | fixedf (Sint64 num, Sint64 denom) |
| fixedf | Abs () const |
| fixedf & | operator*= (const fixedf &a) |
| fixedf & | operator*= (const Sint64 a) |
| fixedf & | operator/= (const fixedf &a) |
| fixedf & | operator/= (const Sint64 a) |
| fixedf & | operator+= (const fixedf &a) |
| fixedf & | operator+= (const Sint64 a) |
| fixedf & | operator-= (const fixedf &a) |
| fixedf & | operator-= (const Sint64 a) |
| fixedf & | operator>>= (const int a) |
| fixedf & | operator<<= (const int a) |
| int | ToInt32 () const |
| Sint64 | ToInt64 () const |
| float | ToFloat () const |
| double | ToDouble () const |
| template<int NEW_FRAC_BITS> | |
| operator fixedf () const | |
Static Public Member Functions | |
| static fixedf | FromDouble (const double val) |
| static fixedf | SqrtOf (const fixedf &a) |
| static fixedf | CubeRootOf (const fixedf &a) |
Public Attributes | |
| Sint64 | v |
Static Public Attributes | |
| static const int | FRAC = FRAC_BITS |
| static const Uint64 | MASK = (Uint64(1UL) << FRAC_BITS) - 1 |
Friends | |
| fixedf | operator+ (const fixedf &a, const Sint64 b) |
| fixedf | operator- (const fixedf &a, const Sint64 b) |
| fixedf | operator* (const fixedf &a, const Sint64 b) |
| fixedf | operator/ (const fixedf &a, const Sint64 b) |
| fixedf | operator+ (const Sint64 a, const fixedf &b) |
| fixedf | operator- (const Sint64 a, const fixedf &b) |
| fixedf | operator* (const Sint64 a, const fixedf &b) |
| fixedf | operator/ (const Sint64 a, const fixedf &b) |
| bool | operator== (const fixedf &a, const Sint64 b) |
| bool | operator== (const Sint64 a, const fixedf &b) |
| bool | operator!= (const fixedf &a, const Sint64 b) |
| bool | operator!= (const Sint64 a, const fixedf &b) |
| bool | operator>= (const fixedf &a, const Sint64 b) |
| bool | operator>= (const Sint64 a, const fixedf &b) |
| bool | operator<= (const fixedf &a, const Sint64 b) |
| bool | operator<= (const Sint64 a, const fixedf &b) |
| bool | operator> (const fixedf &a, const Sint64 b) |
| bool | operator> (const Sint64 a, const fixedf &b) |
| bool | operator< (const fixedf &a, const Sint64 b) |
| bool | operator< (const Sint64 a, const fixedf &b) |
| fixedf | operator>> (const fixedf &a, const int b) |
| fixedf | operator<< (const fixedf &a, const int b) |
| fixedf | operator- (const fixedf &a) |
| fixedf | operator+ (const fixedf &a, const fixedf &b) |
| fixedf | operator- (const fixedf &a, const fixedf &b) |
| fixedf | operator* (const fixedf &a, const fixedf &b) |
| fixedf | operator/ (const fixedf &a, const fixedf &b) |
| bool | operator== (const fixedf &a, const fixedf &b) |
| bool | operator!= (const fixedf &a, const fixedf &b) |
| bool | operator> (const fixedf &a, const fixedf &b) |
| bool | operator< (const fixedf &a, const fixedf &b) |
| bool | operator>= (const fixedf &a, const fixedf &b) |
| bool | operator<= (const fixedf &a, const fixedf &b) |
|
inlineconstexpr |

|
inlinestatic |

|
inlinestatic |

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |

|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
|
static |
| Sint64 fixedf< FRAC_BITS >::v |