RNDMODE(3F) COMMAND REFERENCE RNDMODE(3F)
NAME
rndmode - set rounding method for floating point
instructions
SYNOPSIS
subroutine rndmode (mode)
int mode
DESCRIPTION
Rndmode allows the user to chose which rounding method
should be used when a floating point instruction produces a
result that can not be exactly represented. The default
method is to round to the nearest value.
The mode has the following meaning:
VALUE MEANING
0 Round to the nearest value.
1 Round toward zero.
2 Round toward positive infinity.
3 Round toward negative infinity.
FILES
/usr/lib/libF77.a f77 intrinsic function (math) and
startup library.
RETURN VALUE
[0] Rndmode was not able to set rounding mode.
[1] Rndmode set rounding mode.
SEE ALSO
traper(3f).
Printed 10/17/86 1
%%index%%
na:72,102;
sy:174,283;
de:457,632;
fi:1089,192;
rv:1281,275;
se:1556,100;
%%index%%000000000107