DataMuseum.dk

Presents historical artifacts from the history of:

Commodore CBM-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Commodore CBM-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦7927a4305⟧ TextFile

    Length: 531 (0x213)
    Types: TextFile
    Notes: UNIX file
    Names: »fperr.h«

Derivation

└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦8281d0872⟧ UNIX V7 Filesystem
        └─ ⟦294235107⟧ »vol3.fd« UNIX V7 Filesystem
            └─ ⟦this⟧ »usr/include/fperr.h« 
└─⟦f27320a65⟧ Bits:30001972 Commodore 900 hard disk image with partial source code
    └─⟦2d53db1df⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »include/fperr.h« 
└─⟦eafc30061⟧ Bits:30001199 Commodore 900 hard disk image
    └─⟦5ec4c54f2⟧ UNIX V7 Filesystem
        └─ ⟦this⟧ »usr/include/fperr.h« 

TextFile

/*
 * 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