Name
EDOM macro — Code for a math domain error
Synopsis
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.
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.