Annotation of 41BSD/lib/libI77uc/lio.h, revision 1.1.1.1

1.1       root        1: /*     copy of ftypes from the compiler */
                      2: /* variable types
                      3:  * numeric assumptions:
                      4:  *     int < reals < complexes
                      5:  *     TYDREAL-TYREAL = TYDCOMPLEX-TYCOMPLEX
                      6:  */
                      7: 
                      8: #define TYUNKNOWN 0
                      9: #define TYADDR 1
                     10: #define TYSHORT 2
                     11: #define TYLONG 3
                     12: #define TYREAL 4
                     13: #define TYDREAL 5
                     14: #define TYCOMPLEX 6
                     15: #define TYDCOMPLEX 7
                     16: #define TYLOGICAL 8
                     17: #define TYCHAR 9
                     18: #define TYSUBR 10
                     19: #define TYERROR 11
                     20: 
                     21: #define NTYPES (TYERROR+1)
                     22:  
                     23: #define        LINE    80
                     24: #define LINTW  (strlen(buf))
                     25: #define        LLOGW   3
                     26: #define LSTRW  (len+2)
                     27: #define        LLOW    1.0e-1
                     28: #define        LHIGH   1.0e+LFD
                     29: #define LDHIGH 1.0e+LDFD
                     30: #define        LFD     6
                     31: #define        LFW     (LFD+4)
                     32: #define LDFD   14
                     33: #define LDFW   (LDFD+4)
                     34: #define        LED     LFD
                     35: #define        LEW     LFW+4
                     36: #define        LEE     2
                     37: #define LDED   LDFD
                     38: #define LDEW   LDFW+4
                     39: #define LDEE   2
                     40: #define LCW    (width(a)+width(b)+5)
                     41: #define LDCW   (dwidth(a)+dwidth(b)+5)
                     42: 
                     43: #define abs(z) (z<0?-z:z)
                     44: #define width(z) ((z!=0.0 && (abs(z)>=LHIGH || abs(z)<LLOW))?LEW:LFW)
                     45: #define dwidth(z) ((z!=0.0 && (abs(z)>=LDHIGH || abs(z)<LLOW))?LDEW:LDFW)
                     46: #define ERR(x) if(n=(x)) err(n>0?errflag:endflag,n,"list io")
                     47: 
                     48: typedef union
                     49: {      short   flshort;
                     50:        ftnint  flint;
                     51:        float   flreal;
                     52:        double  fldouble;
                     53: } flex;
                     54: 
                     55: extern int (*lioproc)();
                     56: extern flag leof;
                     57: extern ioflag lquit,l_first;
                     58: extern int lcount,line_len;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.