Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.0 DD-00006-010
9.3.2 Member Functions
void restore();

void round_down();
void round_up();
void round_tonearest();
void round_towardzero();

The following functions manipulate the floating point rounding mode.

restore()


Restores the rounding mode to the initial mode set in the constructor.

round_down()


Set rounding mode to round down.

round_up()


Set rounding mode to round up.

round_tonearest()


Set rounding mode to nearest.

round_towardzero()


Set rounding mode towards zero.