home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
merr.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-17
|
766b
|
35 lines
/***
*merr.c - floating point exception handling
*
* Copyright (c) 1991-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
*
*******************************************************************************/
#include <math.h>
/*
* Define flag signifying the default _matherr routine is being used.
*/
int __defaultmatherr = 1;
/***
*int _matherr(struct _exception *pexcept) - handle math errors
*
*Purpose:
* Permits the user customize fp error handling by redefining this function.
*
* The default matherr does nothing and returns 0
*
*Entry:
*
*Exit:
*
*Exceptions:
*******************************************************************************/
int _matherr(struct _exception *pexcept)
{
return 0;
}