File:  [MW Coherent from dump] / coherent / a / usr / include.b4ps2 / fperr.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/* (-lgl
 * 	COHERENT Version 3.0
 * 	Copyright (c) 1982, 1990 by Mark Williams Company.
 * 	All rights reserved. May not be copied without permission.
 -lgl) */
/*
 * 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

unix.superglobalmegacorp.com

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