C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

Math Function Messages
Run-time libraries report the messages in this subsection if an error is detected in a math function.
41
Range fault
Cause
An arithmetic overflow or underflow occurred while evaluating an arithmetic function.
Effect
Program behavior is language and application dependent.
Recovery
Modify the program to pass values to the arithmetic functions that do not cause overflow.
42
Arccos domain fault
Cause
The parameter passed to the arccos function was not in the range:
-1.0 < parameter < 1.0
Effect
Program behavior is language and application dependent.
Recovery
Modify the program to pass a valid value to the arccos function.
43
Arcsin domain fault
Cause
The parameter passed to the arcsin function was not in the range:
-1.0 < parameter < 1.0
Effect
Program behavior is language and application dependent.
Recovery
Modify the program to pass a valid value to the arcsin function.
44
Arctan domain fault
Cause
Both of the parameters to an arctan2 function were zero. At least one of the parameters must
be nonzero.
Effect
Program behavior is language and application dependent.
Recovery
Modify the program to pass the correct value to the arctan2 function.
46
Logarithm function domain fault
Math Function Messages 373