46G4Pow* G4Pow::fInstance = 0;
64 const G4int maxZ = 512;
65 const G4int maxZfact = 170;
67 pz13.resize(maxZ,0.0);
69 fact.resize(maxZfact,0.0);
70 logfact.resize(maxZ,0.0);
77 for(
G4int i=1; i<maxZ; ++i)
80 pz13[i] = std::pow(x,onethird);
100 if(std::abs(n) > 8) {
return std::pow(x,
G4double(n)); }
102 if(n >= 0) {
for(
G4int i=0; i<n; ++i) { res *= x; } }
103 else if((n < 0) && (x != 0.0))
107 for(
G4int i=0; i<nn; ++i) { res *= y; }
static G4Pow * GetInstance()
G4double powN(G4double x, G4int n)