Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FPP_$SET_DEFAULT_MODES            Domain/OS             FPP_$SET_DEFAULT_MODES


NAME
     fpp_$set_default_modes - restore default floating-point modes

SYNOPSIS (C)
     #include <apollo/base.h>
     #include <apollo/fpp.h>

     void fpp_$set_default_modes(status_$t *status)

SYNOPSIS (Pascal)
     %include '/sys/ins/base.ins.pas';
     %include '/sys/ins/fpp.ins.pas';

     procedure fpp_$set_default_modes(out status: status_$t);

SYNOPSIS (FORTRAN)
     %include '/sys/ins/base.ins.ftn'
     %include '/sys/ins/fpp.ins.ftn'

           integer*4 status

           call fpp_$set_default_modes(status)

DESCRIPTION
     Fpp_$set_default_modes sets the following floating-point modes to their
     default values, namely:

          ⊕  The rounding mode is set to round to nearest.

          ⊕  The branch on unordered comparison, divide by zero, invalid
             operation, overflow, and signaling not a number exception traps
             are enabled.  The inexact operation and underflow exception traps
             are disabled.

          ⊕  The precision mode is set to extended (not applicable to the
             DN10000 series).

          ⊕  IEEE-754 underflow mode is asserted (only on the DN10000 series).

     Fpp_$set_default_modes
        also clears all accrued exception flags.  Operations unsupported by
        the floating-point unit are silently ignored.

     status
        The completion status.

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