The NAG error argument (see Section 7 in the Introduction to the NAG Library CL Interface).
6Error Indicators and Warnings
Dynamic memory allocation failed.
See Section 3.1.2 in the Introduction to the NAG Library CL Interface for further information.
On entry, argument had an illegal value.
On entry, .
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact NAG for assistance.
See Section 7.5 in the Introduction to the NAG Library CL Interface for further information.
Your licence key may have expired or may not have been installed correctly.
See Section 8 in the Introduction to the NAG Library CL Interface for further information.
Because of its close relationship with the accuracy of this function is very similar to that in s15adc. If and are the relative errors in result and argument, respectively, then in principle they are related by
For negative or small positive this factor is always less than and accuracy is mainly limited by machine precision. For large positive we find and hence to a certain extent relative accuracy is unavoidably lost. However, the absolute error in the result, , is given by
and since this factor is always less than one absolute accuracy can be guaranteed for all .
8Parallelism and Performance
s15aqc is not threaded in any implementation.
This example reads values of the argument from a file, evaluates the function at each value of and prints the results.