Annotation of coherent/a/usr/include.b4ps2/fperr.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 3.0
                      3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * Floating Point Exception codes for SIGFPE handlers
                      8:  */
                      9: 
                     10: #ifndef        FPERR_H
                     11: #define        FPERR_H FPERR_H
                     12: 
                     13: enum   fperr   {
                     14:        FPE_DV0,                /* divide by 0 */
                     15:        FPE_UFL,                /* underflow */
                     16:        FPE_OFL,                /* overflow */
                     17:        FPE_IOF,                /* integer overflow */
                     18:        FPE_NAN,                /* illegal number */
                     19:        FPE_UNK                 /* unknown */
                     20: };
                     21: enum   fpeact  {               /* fp err actions */
                     22:        FPE_ST0,                /* set result to 0 */
                     23:        FPE_SIG                 /* generate a signal */
                     24: };
                     25: char   *fperrstr[] = {
                     26:                "divide by 0",
                     27:                "underflow",
                     28:                "overflow",
                     29:                "integer overflow",
                     30:                "illegal number",
                     31:                "unknown"
                     32:        };
                     33: 
                     34: #endif

unix.superglobalmegacorp.com

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