|
|
BSD 4.3reno
#if TARGET != TAHOE
}}}}} WRONG MACHINE!!! }}}}}
#endif
/* The code for converting the types of constants is not */
/* portable. The problems involved in dealing with */
/* features such as reserved operands and byte orderings */
/* have proven very difficult to deal with in a portable */
/* manner. */
#define BLANK ' '
#define MAXWORD 0x7fff
#define MINWORD -0x8000
typedef
struct Dreal
{
#if HERE == VAX
unsigned fract1: 7;
unsigned exp: 8;
unsigned sign: 1;
#else
#if HERE == TAHOE
unsigned sign: 1;
unsigned exp: 8;
unsigned fract1: 7;
#else
}}}}} WRONG MACHINE!!! }}}}}
#endif
#endif
unsigned fract2: 16;
unsigned short fract3;
unsigned short fract4;
}
dreal;
typedef
struct Quad
{
long word1;
long word2;
}
quad;
typedef
union RealValue
{
double d;
quad q;
dreal f;
}
realvalue;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.