Metropoli BBS
VIEWER: matherr.h MODE: TEXT (ASCII)
/*****************************************************************************
* Global definitions of floating point errors module:			     *
*									     *
* Written by:  Gershon Elber			IBM PC Ver 1.0,	Mar. 1989    *
*****************************************************************************/

#ifndef MATHERRH
#define MATHERRH

/* Valid action to take uppon math error occurance: */
#define ME_KILL		0     /* Kill this process after printing error type */
#define ME_IGNORE	1	 /* Save that error, but do nothing about it */
#define ME_LONGJMP	2	     /* Long jump to given location if error */
#define ME_CALL		3		  /* Call the given routine directly */

#define HAS_GRAPHICS		/* Undef if program may work at graphic mode */

void MathErrorSetUp(int Action, void far *Addr);
char *MathErrorGet(void);

#endif  MATHERRH
[ RETURN TO DIRECTORY ]