1: /*
   2:  * Copyright (c) 1986 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)fperr.h	1.2 (2.11BSD) 1997/8/28
   7:  */
   8: 
   9: /*
  10:  * Structure of the floating point error register save/return
  11:  */
  12: struct fperr {
  13:     short   f_fec;
  14:     caddr_t f_fea;
  15: };
  16: 
  17: /*
  18:  * These are not used any where and are present here merely for reference.
  19:  * All the of the VAX oriented FP codes were removed from signal.h and the
  20:  * kernel.  The kernel now passes the unaltered contents of the FEC register to
  21:  * the application.  The values below were taken from the PDP-11/70 processor
  22:  * handbook.
  23: */
  24: 
  25: #ifdef  notnow
  26: #define FPE_OPCODE_TRAP 0x2 /* Bad FP opcode */
  27: #define FPE_FLTDIV_TRAP 0x4 /* FP divide by zero */
  28: #define FPE_INTOVF_TRAP 0x6 /* FP to INT overflow */
  29: #define FPE_FLTOVF_TRAP 0x8 /* FP overflow */
  30: #define FPE_FLTUND_TRAP 0xa /* FP underflow */
  31: #define FPE_UNDEF_TRAP  0xc /* FP Undefined variable */
  32: #define FPE_MAINT_TRAP  0xe /* FP Maint trap */
  33: #endif /* notnow */

Defined struct's

fperr defined in line 12; used 4 times

Defined macros

FPE_FLTDIV_TRAP defined in line 27; never used
FPE_FLTOVF_TRAP defined in line 29; never used
FPE_FLTUND_TRAP defined in line 30; never used
FPE_INTOVF_TRAP defined in line 28; never used
FPE_MAINT_TRAP defined in line 32; never used
FPE_OPCODE_TRAP defined in line 26; never used
FPE_UNDEF_TRAP defined in line 31; never used

Usage of this include

fperr.h used 2 times
Last modified: 1997-08-30
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2180
Valid CSS Valid XHTML 1.0 Strict