Geant4-11
|
#include "nf_specialFunctions.h"
Go to the source code of this file.
Macros | |
#define | EPS 1.0e-15 /* Desired relative error, not smaller than the machine precision. */ |
#define | EULER 0.57721566490153286 /* Euler's constant gamma */ |
#define | FPMIN 1.0e-300 /* close to the smallest representable floting-point number. */ |
#define | MAXIT 100 /* Maximum allowed number of iterations. */ |
Functions | |
double | nf_exponentialIntegral (int n, double x, nfu_status *status) |
Definition at line 23 of file nf_exponentialIntegral.cc.
#define EULER 0.57721566490153286 /* Euler's constant gamma */ |
Definition at line 20 of file nf_exponentialIntegral.cc.
#define FPMIN 1.0e-300 /* close to the smallest representable floting-point number. */ |
Definition at line 22 of file nf_exponentialIntegral.cc.
#define MAXIT 100 /* Maximum allowed number of iterations. */ |
Definition at line 21 of file nf_exponentialIntegral.cc.
double nf_exponentialIntegral | ( | int | n, |
double | x, | ||
nfu_status * | status | ||
) |
Definition at line 28 of file nf_exponentialIntegral.cc.
References EPS, EULER, FPMIN, G4Exp(), G4Log(), isfinite, MAXIT, CLHEP::detail::n, nfu_badInput, nfu_failedToConverge, and nfu_Okay.
Referenced by MCGIDI_energy_parseMadlandNixFromTOM_callback_g().