home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / IRIT / DRAWFUNS.ARC / MATHERR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-08-02  |  848 b   |  22 lines

  1. /*****************************************************************************
  2. * Global definitions of floating point errors module:                 *
  3. *                                         *
  4. * Written by:  Gershon Elber            IBM PC Ver 1.0,    Mar. 1989    *
  5. *****************************************************************************/
  6.  
  7. #ifndef MATHERRH
  8. #define MATHERRH
  9.  
  10. /* Valid action to take uppon math error occurance: */
  11. #define ME_KILL        0     /* Kill this process after printing error type */
  12. #define ME_IGNORE    1     /* Save that error, but do nothing about it */
  13. #define ME_LONGJMP    2         /* Long jump to given location if error */
  14. #define ME_CALL        3          /* Call the given routine directly */
  15.  
  16. #define HAS_GRAPHICS        /* Undef if program may work at graphic mode */
  17.  
  18. void MathErrorSetUp(int Action, void far *Addr);
  19. char *MathErrorGet(void);
  20.  
  21. #endif  MATHERRH
  22.