Annotation of 43BSDReno/sys/tahoemath/Kfp.h, revision 1.1.1.1

1.1       root        1: /*     Kfp.h   1.2     86/01/03        */
                      2: 
                      3: /*
                      4:  * Opcodes to be emulated by kernel software.
                      5:  */
                      6: #define        CVLF    0x76
                      7: #define        CVLD    0x77
                      8: #define        CVFL    0x86
                      9: #define        CVDL    0x87
                     10: #define        LDFD    0x97
                     11: #define        CVDF    0xa6
                     12: #define        ADDF    0xc6
                     13: #define        ADDD    0xc7
                     14: #define        SUBF    0xd6
                     15: #define        SUBD    0xd7
                     16: #define        MULF    0xe6
                     17: #define        MULD    0xe7
                     18: #define        DIVF    0xf6
                     19: #define        DIVD    0xf7
                     20: #define        SINF    0x05
                     21: #define        COSF    0x15
                     22: #define        ATANF   0x25
                     23: #define        LOGF    0x35
                     24: #define        SQRTF   0x45
                     25: #define        EXPF    0x55
                     26: 
                     27: /* HFS bits:   */
                     28: #define HFS_UNDF       0x008   /* float underflow */
                     29: #define HFS_OVF                0x004   /* float overflow */
                     30: 
                     31: #define HFS_RANGE      0x8000  /* set u_error to ERANGE */
                     32: #define HFS_DOM                0x4000  /* set u_error to EDOM */
                     33: #define HFS_DIVZ       0x2000  /* divide by zero flag */
                     34: 
                     35: /* destination types for the f.p. opcodes:     */
                     36: #define LONG   01
                     37: #define FLOAT  02
                     38: #define        DOUBLE  03
                     39: 
                     40: /* exceptions: */
                     41: #define OVF_EXC                0x003   /* floating overflow */
                     42: #define UNDF_EXC       0x004   /* floating underflow */
                     43: #define DIV0_EXC       0x005   /* floating divide by 0 */

unix.superglobalmegacorp.com

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