Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.1 DD-00006-011

10.2.2 Member Functions

virtual void set_round(enum round_mode md) = 0; 
virtual enum round_mode get_round() const = 0;

These functions get and set the rounding mode.

set_round(enum round_mode)


Set the rounding mode to the specified mode.

get_round()


Get the current active rounding mode.