__setusermatherr

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

void __setusermatherr(
   _HANDLE_MATH_ERROR pf 
   )

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 *).

Routine

Required header

__setusermatherr

matherr.c

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft