EGL Java™ runtime error code VGJ0161E

VGJ0161E: Math function %1 failed with error code 8 (domain error).

Explanation

The argument must be between -1 and 1.

User Response

Do as follows:
  • Change the program logic to ensure that the argument passed to the function is between -1 and 1; 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
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.