We recommend using Visual Studio 2017

__setusermatherr

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __setusermatherr.

Specifies a user-supplied rountine to handle math errors, instead of the _matherr routine.

void __setusermatherr(  
   _HANDLE_MATH_ERROR pf   
   )  

Parameters

pf
Pointer to an implementation of _matherr that is supplied by the user.

The type of the pf parameter is declared as typedef int (__cdecl * _HANDLE_MATH_ERROR)(struct _exception *).

RoutineRequired header
__setusermatherrmatherr.c
Show: