This documentation is copyright © 1998-2001 Sandro Sigala <sandro@sigala.it>.
All rights reserved.

Released under the GNU General Public License.

Return to index Return to header Previous symbol Next symbol

EDOM

Prototype

#include <errno.h>

#define EDOM	implementation-defined

Description

The EDOM macro expands to a constant value that is stored in errno after a domain error occurred. This type of error occurs when a mathematical function argument is outside the domain over which the mathematical function is defined. For example, a domain error occurs for acos arguments not in the range [-1,+1].

References

ISO C 9899:1990 7.1.4