Public Types | |
enum | |
typedef MantissaType | Mantissa |
typedef ExponentType | Exponent |
Public Member Functions | |
FixedPointDecimal () | |
FixedPointDecimal (Mantissa mantissa) | |
FixedPointDecimal (const FixedPointDecimal &other) | |
Mantissa | mantissa () const |
Exponent | exponent () const |
FixedPointDecimal & | operator= (const FixedPointDecimal &other) |
BOE Platform currently operates prices and scaling factors as real numbers with constant exponent. This class implements concept of fixed point decimal and lets to dramatically improve performance of book-related operations.
typedef ExponentType Exponent |
typedef MantissaType Mantissa |
anonymous enum |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |