Skip to content

Latest commit

 

History

History
73 lines (66 loc) · 1.46 KB

File metadata and controls

73 lines (66 loc) · 1.46 KB
title __setusermatherr | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-standard-libraries
ms.tgt_pltfrm
ms.topic article
apiname
__setusermatherr
apilocation
msvcr80.dll
msvcr90.dll
msvcrt.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr100.dll
api-ms-win-crt-math-l1-1-0.dll
apitype DLLExport
f1_keywords
__setusermatherr
dev_langs
C++
helpviewer_keywords
__setusermatherr
ms.assetid f306818d-381a-4d68-8739-71b92bacb5ea
caps.latest.revision 2
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

__setusermatherr

Specifies a user-supplied rountine 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