1: /*
   2:  * Copyright (c) 1980 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:  *	@(#)conv.h	5.1 (Berkeley) 6/7/85
   7:  */
   8: 
   9: #if (HERE != VAX || TARGET != VAX)
  10:     }}}}}   WRONG MACHINE!!!    }}}}}
  11: #endif
  12: 
  13: /*  The code for converting the types of constants is not  */
  14: /*  portable.  The problems involved in dealing with       */
  15: /*  features such as reserved operands and byte orderings  */
  16: /*  have proven very difficult to deal with in a portable  */
  17: /*  manner.  Because of impending deadlines, I have put    */
  18: /*  off trying to achieve portability.                     */
  19: /*                                                         */
  20: /*                             -Robert Paul Corbett        */
  21: /*                              1983 May 1                 */
  22: 
  23: 
  24: #define BLANK   ' '
  25: 
  26: #define MAXWORD  32767
  27: #define MINWORD -32768
  28: 
  29: typedef
  30:   struct Dreal
  31:     {
  32:       unsigned fract1: 7;
  33:       unsigned exp: 8;
  34:       unsigned sign: 1;
  35:       unsigned fract2: 16;
  36:       unsigned fract3: 16;
  37:       unsigned fract4: 16;
  38:     }
  39:   dreal;
  40: 
  41: typedef
  42:   struct Quad
  43:     {
  44:       long word1;
  45:       long word2;
  46:     }
  47:   quad;
  48: 
  49: typedef
  50:   union RealValue
  51:     {
  52:       double d;
  53:       quad   q;
  54:       dreal  f;
  55:     }
  56:   realvalue;

Defined struct's

Dreal defined in line 30; never used
Quad defined in line 42; never used

Defined union's

RealValue defined in line 50; never used

Defined typedef's

dreal defined in line 39; used 1 times
  • in line 54
quad defined in line 47; used 1 times
  • in line 53
realvalue defined in line 56; used 4 times

Defined macros

BLANK defined in line 24; used 1 times
MAXWORD defined in line 26; used 1 times
MINWORD defined in line 27; used 1 times

Usage of this include

Last modified: 1985-06-08
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 735
Valid CSS Valid XHTML 1.0 Strict