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, they are in principle related by
so that the relative error in the argument, , is amplified by a factor, , in the result.
For small and for positive this factor is always less than and accuracy is mainly limited by machine precision.
For large negative the factor behaves like and hence to a certain extent relative accuracy is unavoidably lost.
However, the absolute error in the result, , is given by
so absolute accuracy can be guaranteed for all .
8Parallelism and Performance
s15apc is not threaded in any implementation.
This example reads values of x from a file, evaluates the function at each value of and prints the results.