Functions to set or display information about the Fix number

int len() const

Return the total word length of the Fix number.

int intb() const

Return the number of bits to the left of the binary point.

int precision() const

Return the number of bits to the right of the binary point.

int overflow() const

Return the code of the type of overflow response for the Fix number. The possible codes are:

int roundMode() const

Return the rounding mode: 1 for rounding, 0 for truncation.

int signBit() const

Return TRUE if the value of the Fix number is negative, FALSE if it is positive or zero.

int is_zero()

Return TRUE if the value of the Fix number is zero.

double max()

Return the maximum value representable using the current precision.

double min()

Return the minimum value representable using the current precision.

double value()

The value of the Fix number as a double.

void setToZero()

Set the value of the Fix number to zero.

void set_overflow(int value)

Set the overflow type.

void set_rounding(int value)

Set the rounding type: TRUE for rounding, FALSE for truncation.

void initialize()

Discard the current precision format and set the Fix number to zero.

There are a few functions for backward compatibility:

void set_ovflow(const char*)

Set the overflow using a name.

void Set_MASK(int value)

Set the rounding type. Same functionality as set_rounding().