|
DataMuseum.dkPresents historical artifacts from the history of: Commodore CBM-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Commodore CBM-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 531 (0x213) Types: TextFile Notes: UNIX file Names: »fperr.h«
└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image └─⟦8281d0872⟧ UNIX Filesystem └─ ⟦294235107⟧ »vol3.fd« UNIX Filesystem └─ ⟦this⟧ »usr/include/fperr.h« └─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code └─⟦2d53db1df⟧ UNIX Filesystem └─ ⟦this⟧ »include/fperr.h« └─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image └─⟦5ec4c54f2⟧ UNIX Filesystem └─ ⟦this⟧ »usr/include/fperr.h«
/* * Floating Point Exception codes for SIGFPE handlers */ #ifndef FPERR_H #define FPERR_H FPERR_H enum fperr { FPE_DV0, /* divide by 0 */ FPE_UFL, /* underflow */ FPE_OFL, /* overflow */ FPE_IOF, /* integer overflow */ FPE_NAN, /* illegal number */ FPE_UNK /* unknown */ }; enum fpeact { /* fp err actions */ FPE_ST0, /* set result to 0 */ FPE_SIG /* generate a signal */ }; char *fperrstr[] = { "divide by 0", "underflow", "overflow", "integer overflow", "illegal number", "unknown" }; #endif