EGL Java™ runtime error code VGJ0165E

VGJ0165E: Math function pow failed with error code 8 (domain error).

Explanation

If the first argument is zero, the second must be greater than zero.

User Response

Do as follows:
  • Change the program logic to ensure that if the first argument passed to the function is zero, the second argument is greater than 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
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.