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