98 static G4Pow* fpInstance;
100 const G4double onethird = 1.0 / 3.0;
101 const G4int max2 = 5;
150 res = lz2[i] + x * (1.0 - (0.5 - onethird * x) * x);
156 res = lz[i] + x * (1.0 - (0.5 - onethird * x) * x);
167 return (1.0 <=
A ? logBase(
A) : -logBase(1. /
A));
173 G4double a = (1.0 <= x) ? x : 1.0 / x;
179 else if(a <= ener[2])
181 res = logen[1] + logBase(a / ener[1]);
183 else if(a <= ener[3])
185 res = logen[2] + logBase(a / ener[2]);
212 res = fexp[i] * (1.0 + x * (1.0 + 0.5 * (1.0 + onethird * x) * x));
227 return expA(y * lz[
Z]);
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double G4Log(G4double x)
static G4Pow * GetInstance()
G4double log10Z(G4int Z) const
G4double logZ(G4int Z) const
G4double factorial(G4int Z) const
G4double powZ(G4int Z, G4double y) const
G4double logfactorial(G4int Z) const
G4double powN(G4double x, G4int n) const
G4double logX(G4double x) const
G4double Z13(G4int Z) const
G4double expA(G4double A) const
G4double logA(G4double A) const
G4double powA(G4double A, G4double y) const
G4double A23(G4double A) const
G4double Z23(G4int Z) const
G4double log10A(G4double A) const