Specifications
724 Math Coprocessor Error Messages
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 724 of 40 Printed: 10/09/00 02:49 PM
M6107 unemulated
An attempt was made to execute a coprocessor instruction that is invalid or is not
supported by the emulator.
This error terminates the program with exit code 135.
M6108 square root
The operand in a square-root operation was negative.
This error terminates the program with exit code 136.
The sqrt function in the C run-time library and the FORTRAN intrinsic function SQRT
do not generate this error. The C sqrt function checks the argument before performing
the operation and returns an error value if the operand is negative. The FORTRAN
SQRT function generates the DOMAIN error M6201 instead of this error.
M6110 stack overflow
A floating-point expression caused a stack overflow on the 8087/80287/80387
coprocessor or the emulator.
Stack-overflow floating-point exceptions are trapped up to a limit of seven levels in
addition to the eight levels usually supported by the 8087/80287/80387 coprocessor.
This error terminates the program with exit code 138.
M6111 stack underflow
A floating-point operation resulted in a stack underflow on the 8087/80287/80387
coprocessor or the emulator.
This error terminates the program with exit code 139.
M6201 function : _DOMAIN error
An argument to the given function was outside the domain of legal input values for that
function.
M6202 function : _SING error
An argument to the given function was a singularity value for this function. The function
is not defined for that argument.
For example, in FORTRAN the following statement generates this error:
result = LOG10(0.0)
This error calls the _matherr function with the function name, its arguments, and the
error type. You can rewrite the _matherr function to customize the handling of certain
run-time floating-point math errors.