Math Error M6108

Math Error M6108


square root

The operand in a square-root operation was negative.

Program terminates 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.

© 2015 Microsoft