Passing Parameters Using Math Bindable APIs

The math bindable APIs are procedures, and therefore parameters are passed by reference. The math library handles all exceptions by returning a feedback code, if one was specified on the call. If the pointer to the feedback area is null (0), the feedback area is created and signaled to the ILE condition manager and a program message is generated by the condition manager.

The APIs that perform computations will do so in the rounding mode of "round to nearest" to achieve better accuracy. The APIs save the current rounding mode (before the computations start), and restore the previous one before the APIs exit. This is a general rule for the math bindable APIs.


Top | ILE CEE APIs | APIs by category