EDOM macro — Code for a math domain error
int EDOM
Standard library functions that report domain errors set
errno
to EDOM
. A domain error occurs when the
domain of an argument is out of range, such as when asking for the
square root of a negative number.
The EDOM
macro expands to a
nonzero integer constant. The value of EDOM
is implementation-defined.