#include <OnixS/CboeCFE/MarketData/Pitch/Decimal.h>
Public Types | |
enum | { Size = sizeof(Mantissa) } |
typedef MantissaType | Mantissa |
typedef ExponentType | Exponent |
Public Member Functions | |
FixedPointDecimal () ONIXS_BATS_PITCH_NOTHROW | |
FixedPointDecimal (Mantissa mantissa) ONIXS_BATS_PITCH_NOTHROW | |
FixedPointDecimal (const FixedPointDecimal &other) ONIXS_BATS_PITCH_NOTHROW | |
Mantissa | mantissa () const ONIXS_BATS_PITCH_NOTHROW |
Exponent | exponent () const ONIXS_BATS_PITCH_NOTHROW |
FixedPointDecimal & | operator= (const FixedPointDecimal &other) ONIXS_BATS_PITCH_NOTHROW |
Represents real number with constant exponent.
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 |