NAG Library Manual, Mark 28.6
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_quad_dim1_quad_inf_1 (d01smc) Example Program Results
(User-supplied callback f, first invocation.)
a      - lower limit of integration =     0.0000
b      - upper limit of integration = infinity
epsabs - absolute accuracy requested =    0.00e+00
epsrel - relative accuracy requested =    1.00e-04

result - approximation to the integral =   3.14159
abserr - estimate of the absolute error =    2.65e-05
qp.fun_count  - number of function evaluations =  285
qp.num_subint  - number of subintervals used =   10