FPP_$INTRO Domain/OS FPP_$INTRO
NAME
intro - the Floating-Point Package
SYNOPSIS (C)
#include <apollo/base.h>
#include <apollo/fpp.h>
SYNOPSIS (Pascal)
%include '/sys/ins/base.ins.pas';
%include '/sys/ins/fpp.ins.pas';
SYNOPSIS (FORTRAN)
%include '/sys/ins/base.ins.ftn'
DESCRIPTION
The Floating-Point Package (fpp_$) calls manipulate floating-point con-
trol and status registers, and save and restore floating-point states.
The following is a list of the fpp_$ calls.
fpp_$control modify the floating-point con-
trol register
fpp_$restore load a new floating-point state
fpp_$save save the floating-point state
fpp_$save_restore save the current and load a new
floating-point state
fpp_$save_restore_size return the size of a floating-
point state
fpp_$status modify the floating-point
status register
Data Types
fpp_op_t
An enumerated type for specifying the result of a fpp_$contol or
fpp_$status call. It takes one of the following predefined values:
read_op
Read from a floating-point control or status register.
write_op
Write to a floating-point control or status register.
exch_op
Exchange the contents of a floating-point control or status
register with the contents of an argument.
Errors
fpp_$invalid_op
The attempted operation is invalid.
fpp_$unsupported_function
The requested operation is not supported on the current hardware.