Research V4 development
[unix-history] / man / manx / fpe.2
CommitLineData
59b6dd54
KT
1.pa 1
2.he 'FPE (II)'9/2/72'FPE (II)'
3.ti 0
4NAME fpe -- set floating exception handling
5.s3
6.ti 0
7SYNOPSIS sys fpe; arg / fpe = 40. not in assembler
8.s3
9.ti 0
10DESCRIPTION This call
11allows one to catch traps resulting from
12floating point exceptions.
13Arg\b\b\b___ is a location within the program; floating exception traps
14are sent to that location.
15The normal effect of floating exception traps may be restored by giving
16an arg\b\b\b___ equal to 0.
17.s3
18To return after catching the
19fpe\b\b\b___
20trap, execute the rti\b\b\b___ instruction.
21.s3
22.ti 0
23SEE ALSO --
24.s3
25.ti 0
26DIAGNOSTICS --
27.s3
28.ti 0
29BUGS The
30floating point exception (FEC) register
31is not saved per process.
32Examining this register for possible
33remedial action after a floating point
34exception trap is not guaranteed to work.