Query: fperr
OS: bsd
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FPERR(2) System Calls Manual FPERR(2)NAMEfperr - get floating-point error registers (2BSD)SYNOPSIS#include <pdp/fperr.h> struct fperr { short f_fec; caddr_t f_fea; }; fperr(fpe) struct fperr *fpe;DESCRIPTIONFperr returns the contents of the floating-point processor's error registers as they were following the last floating exception generated by the calling process. The registers are stored in the structure pointed to by fpe. This call is required because the error registers in the PDP-11 floating-point processor are read-only. Thus, they may be changed by some other process between the time that the current process generates an exception and the time that it reads the registers. Therefore, the system saves their state at the time of an exception. The values returned are valid only after a floating-point exception.ERRORS[EINVAL] The kernel has not been compiled for a processor with floating point.SEE ALSOEd Gould, Jim Reeds, Vance Vaughan, UNIX Problems with Floating Point ProcessorsBUGSFperr is unique to the PDP-11 and 2BSD; its use is discouraged. 3rd Berkeley Distribution January 22, 1987 FPERR(2)
Related Man Pages |
---|
fetestexcept(3m) - opensolaris |
feholdexcept(3m) - opensolaris |
fegetexceptflag(3m) - hpux |
isgreater(3m) - hpux |
fetestexcept(3m) - sunos |
Similar Topics in the Unix Linux Community |
---|
Mac OS X: Based on UNIX - Solid As a Rock |
Scripts without shebang |
Is UNIX an open source OS ? |
Memory leak with awk on MacOs |