Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Math Error M6201

Error Message

'function' : _DOMAIN error

An argument to the given function was outside the domain of legal input values for that function.


result = sqrt(-1.0)   // C statement
result = SQRT(-1.0)   !  FORTRAN statement

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.

Community Additions

© 2015 Microsoft