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