Stable Numerics Subroutine Library
Programming Reference Manual
Version 1.0 DD-00006-010
9.2.1 Member Types
enum round_mode {
  round_down       = 1,
  round_up         = 2,
  round_tonearest  = 3,
  round_towardzero = 4,
  round_error      = 99
};

round_down


Round downwards.

round_up


Round upwards.

round_tonearest


Round toward the nearest number.

round_towardzero


Round toward towards zero.

round_error


Error if the rounding type is unknown or an error occurred.