%SETROUND     Switch rounding mode
%
%   setround(rnd)
%
%For  rnd = -1  switch rounding downwards
%     rnd =  0  switch rounding to nearest
%     rnd =  1  switch rounding upwards
%
%It is assumed that the processor is permanently switched into the
%specified rounding mode, i.e. all subsequent operations are performed
%according to this rounding mode. When invoking INTLAB, always
%
%  intvalinit('CheckRounding')
%
%is called to be sure the preceding statement is true. Apparently, there
%are difficulties with DEC Alpha workstations in which op-codes carry
%an individual rounding mode.
%
%Default for invalid or no argument is round to nearest
%Replaces old functions setrounddown, setroundnear, and setroundup.
%

% written  11/30/98     S.M. Rump
%

