#include <fixed.h>
Public Member Functions | |
| fixed (void) | |
| fixed (int numerator, int denominator) | |
| fixed (int value) | |
| fixed (char const *ascii) | |
| operator unsigned (void) const | |
| fixed & | operator*= (fixed const &rvalue) |
| fixed & | operator*= (int rvalue) |
| fixed & | operator/= (fixed const &rvalue) |
| fixed & | operator/= (int rvalue) |
| fixed & | operator+= (fixed const &rvalue) |
| fixed & | operator-= (fixed const &rvalue) |
| const fixed | operator* (fixed const &rvalue) const |
| const int | operator* (int rvalue) const |
| const fixed | operator/ (fixed const &rvalue) const |
| const int | operator/ (int rvalue) const |
| const fixed | operator+ (fixed const &rvalue) const |
| const int | operator+ (int rvalue) const |
| const fixed | operator- (fixed const &rvalue) const |
| const int | operator- (int rvalue) const |
| fixed & | operator>>= (unsigned rvalue) |
| fixed & | operator<<= (unsigned rvalue) |
| const fixed | operator>> (unsigned rvalue) const |
| const fixed | operator<< (unsigned rvalue) const |
| bool | operator== (fixed const &rvalue) const |
| bool | operator!= (fixed const &rvalue) const |
| bool | operator< (fixed const &rvalue) const |
| bool | operator> (fixed const &rvalue) const |
| bool | operator<= (fixed const &rvalue) const |
| bool | operator>= (fixed const &rvalue) const |
| bool | operator! (void) const |
| bool | operator< (int rvalue) const |
| bool | operator> (int rvalue) const |
| bool | operator<= (int rvalue) const |
| bool | operator>= (int rvalue) const |
| bool | operator== (int rvalue) const |
| bool | operator!= (int rvalue) const |
| void | Round_Up (void) |
| void | Round_Down (void) |
| void | Round (void) |
| void | Saturate (unsigned capvalue) |
| void | Saturate (fixed const &capvalue) |
| void | Sub_Saturate (unsigned capvalue) |
| void | Sub_Saturate (fixed const &capvalue) |
| void | Inverse (void) |
| int | To_ASCII (char *buffer, int maxlen=-1) const |
| char const * | As_ASCII (void) const |
Static Public Attributes | |
| static const fixed | _1_2 |
| static const fixed | _1_3 |
| static const fixed | _1_4 |
| static const fixed | _3_4 |
| static const fixed | _2_3 |
Friends | |
| const int | operator* (int lvalue, fixed const &rvalue) |
| const int | operator/ (int lvalue, fixed const &rvalue) |
| const int | operator+ (int lvalue, fixed const &rvalue) |
| const int | operator- (int lvalue, fixed const &rvalue) |
| bool | operator< (unsigned lvalue, fixed const &rvalue) |
| bool | operator> (unsigned lvalue, fixed const &rvalue) |
| bool | operator<= (unsigned lvalue, fixed const &rvalue) |
| bool | operator>= (unsigned lvalue, fixed const &rvalue) |
| bool | operator== (unsigned lvalue, fixed const &rvalue) |
| bool | operator!= (unsigned lvalue, fixed const &rvalue) |
| int | operator*= (int &lvalue, fixed const &rvalue) |
| int | operator/= (int &lvalue, fixed const &rvalue) |
| int | operator+= (int &lvalue, fixed const &rvalue) |
| int | operator-= (int &lvalue, fixed const &rvalue) |
| const fixed | Round_Up (fixed const &value) |
| const fixed | Round_Down (fixed const &value) |
| const fixed | Round (fixed const &value) |
| const fixed | Saturate (fixed const &value, unsigned capvalue) |
| const fixed | Saturate (fixed const &value, fixed const &capvalue) |
| const fixed | Sub_Saturate (fixed const &value, unsigned capvalue) |
| const fixed | Sub_Saturate (fixed const &value, fixed const &capvalue) |
| const fixed | Inverse (fixed const &value) |
|
inline |
|
inline |
|
inline |
|
inline |
| int fixed::To_ASCII | ( | char * | buffer, |
| int | maxlen = -1 ) const |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
| struct { ... } fixed::Composite |