1: From research!ikeya!rob  Sun Sep 13 17:04:21 1981
   2: /*
   3:  * This program prints an infinite number of fpe's,
   4:  * because the pc is not advanced on FPE's.
   5:  * 11/750 microcode bug.
   6:  * On 11/780, die from Operand fault, which is
   7:  * correct.
   8:  * Please try it on your 750 and tell me what happens.
   9: */
  10: #include <signal.h>
  11: inter(){
  12:     printf("fpe\n");
  13:     signal(SIGFPE, inter);
  14:     return;
  15: }
  16: main(){
  17:     double x=0.0;
  18:     signal(SIGFPE, inter);
  19:     printf("%f\n", 3.4/x);
  20: }

Defined functions

inter defined in line 1; used 2 times
main defined in line 16; never used
Last modified: 1982-06-09
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 805
Valid CSS Valid XHTML 1.0 Strict