__setusermatherr
Specifies a user-supplied routine to handle math errors, instead of the _matherr
routine.
Syntax
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 *)
.
Remarks
Requirements
Routine | Required header |
---|---|
__setusermatherr |
matherr.c |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for