title | ms.custom | ms.date | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | f1_keywords | dev_langs | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | manager | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Math Error Constants | Microsoft Docs |
11/04/2016 |
|
article |
|
|
|
4be933a6-674e-45a5-8ac9-090023542f5b |
6 |
corob-msft |
corob |
ghogen |
#include <math.h>
The math routines of the run-time library can generate math error constants.
These errors, described as follows, correspond to the exception types defined in MATH.H and are returned by the _matherr
function when a math error occurs.
Constant | Meaning |
---|---|
_DOMAIN |
Argument to function is outside domain of function. |
_OVERFLOW |
Result is too large to be represented in function's return type. |
_PLOSS |
Partial loss of significance occurred. |
_SING |
Argument singularity: argument to function has illegal value. (For example, value 0 is passed to function that requires nonzero value.) |
_TLOSS |
Total loss of significance occurred. |
_UNDERFLOW |
Result is too small to be represented. |