EGL0188E: The math_functionname Math function 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.