home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
irit
/
drawfuns.arc
/
MATHERR.H
< prev
next >
Wrap
Text File
|
1989-08-02
|
848b
|
22 lines
/*****************************************************************************
* 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