mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
697 B
34 lines
697 B
/***
|
|
*matherr.c - floating point exception handling
|
|
*
|
|
* Copyright (c) 1991-1991, Microsoft Corporation. All rights reserved.
|
|
*
|
|
*Purpose:
|
|
*
|
|
*Revision History:
|
|
* 8-24-91 GDP written
|
|
*
|
|
*******************************************************************************/
|
|
|
|
#include <math.h>
|
|
|
|
int _matherr_flag = 9876;
|
|
|
|
/***
|
|
*int _matherr(struct _exception *except) - 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 *except)
|
|
{
|
|
return 0;
|
|
}
|