EGL0187E The sqrt Math function failed with error code 8 (domain error).

Explanation

The argument must be greater than or equal to zero.

User Response

Do as follows:
  • Change the program logic to ensure that the argument passed to the function is greater than or equal to zero; or
  • Call the function in a try statement, or set vgVar.handlesysLibraryErrors to 1 before calling the function, so that the program can handle the error.

Feedback