set_floatmode(3C)
NAME
set_floatmode − set the floating point mode in hardware
SYNOPSIS
void set_floatmode (mode)
int mode;
DESCRIPTION
The floating point mode is written into the fpcr register, which is a register on systems based on the MC88000 family of processors.
| MODE INTERPRETATION | |
| for MC88000 based systems only: | |
| 3 IEEE-COMPATIBLE | |
| 4 IEEE-NEAREST | |
| 5 IEEE-ZERO | |
| 6 IEEE-POSITIVE-INFINITY | |
| 7 IEEE-NEGATIVE-INFINITY |
DIAGNOSTICS
If an invalid mode is entered, the register will be left unmodified, and set_floatmode will simply return.
CX/UX Programmer’s Reference Manual