diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man2/fpe.2 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man2/fpe.2')
| -rw-r--r-- | static/v10/man2/fpe.2 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/static/v10/man2/fpe.2 b/static/v10/man2/fpe.2 new file mode 100644 index 00000000..1da99684 --- /dev/null +++ b/static/v10/man2/fpe.2 @@ -0,0 +1,34 @@ +.pa 1 +.he 'FPE (II)'9/2/72'FPE (II)' +.ti 0 +NAME fpe -- set floating exception handling +.sp +.ti 0 +SYNOPSIS sys fpe; arg / fpe = 40. not in assembler +.sp +.ti 0 +DESCRIPTION This call +allows one to catch traps resulting from +floating point exceptions. +Arg___ is a location within the program; floating exception traps +are sent to that location. +The normal effect of floating exception traps may be restored by giving +an arg___ equal to 0. +.sp +To return after catching the +fpe___ +trap, execute the rti___ instruction. +.sp +.ti 0 +SEE ALSO -- +.sp +.ti 0 +DIAGNOSTICS -- +.sp +.ti 0 +BUGS The +floating point exception (FEC) register +is not saved per process. +Examining this register for possible +remedial action after a floating point +exception trap is not guaranteed to work. |
