int
| constant | value | description | 
|---|---|---|
| MATH_ERRNO | 1 | errno is used to signal errors: - On domain error: errno is set to EDOM. - On range error (including pole error, overflow, and possibly underflow): errno is set to ERANGE. | 
| MATH_ERREXCEPT | 2 | The proper C exception is raised: - On domain error: FE_INVALID is raised. - On pole error: FE_DIVBYZERO is raised. - On overflow: FE_OVERFLOW is raised. - On underflow: FE_UNDERFLOW may be raised. | 
| MATH_ERRNO|MATH_ERREXCEPT | 3 | Both of the above | 
1 and 2 respectivelly.|  |  | 
| Error handling: 3 errno set to EDOM FE_INVALID raised |