EGL Reference Guide for iSeries
VGJ0162E: Math function atan2 failed with error code 8 (domain
error).
Explanation
Both arguments cannot be zero.
User Response
Do as follows:
- Change the program logic to ensure that at least one argument passed to
the function is not zero; or
- Call the function in a try statement, or set handleSysLibErrors to 1
before calling the function, so that the program can handle the error.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.