EGL Java™ runtime error code VGJ0168E

VGJ0168E: Math function %1 failed with error code 12 (range error).

Explanation

An intermediate or final result cannot be represented as a double precision floating point number or with the precision of the result item.

User Response

Do as follows:
  • Change the program logic to ensure that the target item is large enough to hold the result value; or
  • Change the program logic so that the arguments to the function have values that do not cause this problem; 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.