Minix2.0/src/lib/float/FP_trap.h

/*
  (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
  See the copyright notice in the ACK home directory, in the file "Copyright".
*/

/* $Header: FP_trap.h,v 1.2 88/04/07 11:33:06 ceriel Exp $ */

/*
	include file for floating point package
*/

			/*	EM TRAPS	*/

#define	EIOVFL	3	/* Integer  Overflow		*/
#define	EFOVFL	4	/* Floating Overflow		*/
#define	EFUNFL	5	/* Floating Underflow		*/
#define	EIDIVZ	6	/* Integer  Divide by 0		*/
#define	EFDIVZ	7	/* Floating Divide by 0.0	*/
#define	EIUND	8	/* Integer  Undefined Number	*/
#define	EFUND	9	/* Floating Undefined Number	*/
#define	ECONV	10	/* Conversion Error		*/
# define trap(x) _fptrp(x)