ERANGE
ERANGE is a macro defined in the C standard library header errno.h. It represents a numerical range error and is used as an error code to indicate that a computation or result lies outside the representable range for the given data type. The exact numeric value of ERANGE is implementation-defined; on many systems it is 34, but portable code should not rely on the specific number.
In practice, ERANGE is used by functions that report errors via errno. When a library function encounters
Relation to other error codes is important: ERANGE denotes a range-related problem, while EDOM denotes a domain
Portability and usage: programs that rely on errno to detect errors should include errno.h and check errno