Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rndmode(3F) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

traper(3f)



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 5/12/88                                                 1





































































%%index%%
na:336,118;
sy:454,435;
de:889,706;
fi:1595,227;
rv:1822,375;
se:2197,129;
%%index%%000000000108

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026