Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FPP_$GET_ACCRUED_EXCEPTIONS       Domain/OS        FPP_$GET_ACCRUED_EXCEPTIONS


NAME
     fpp_$get_accrued_exceptions - read accrued exception status

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

     void fpp_$get_accrued_exceptions(
          fpp_$accumulated_status_t *accrued_exceptions,
          status_$t *status)

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

     procedure fpp_$get_accrued_exceptions(
          out accrued_exceptions: fpp_$accumulated_status_t;
          out status: status_$t);

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

           integer*2 accrued_exceptions
           integer*4 status

           call fpp_$get_accrued_exceptions(accrued_exceptions, status)

DESCRIPTION
     Fpp_$get_accrued_exceptions reads the accrued exception status byte on
     the DN10000 series and machines with the Motorola 68881, FPA, or FPX
     floating-point hardware.  If called on a machine that does not support
     accrued exceptions, fpp_$get_accrued_exceptions returns with status set
     to fpp_$unsupported_operation.

     accrued_exceptions
          A small set of accrued exceptions.  It can have any combination of
          the following values:

          fpp_$divide_by_zero
               A divide-by-zero exception occurred.

          fpp_$inexact
               An inexact operation exception occured.

          fpp_$invalid_operation
               An invalid operation exception occured.

          fpp_$overflow
               An overflow exception occured.

          fpp_$underflow
               An underflow exception occured.

     status
          The completion status.

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