Geant4  10.01.p03
G4Exp.hh File Reference
#include <limits>
#include <stdint.h>
#include "G4Types.hh"
+ Include dependency graph for G4Exp.hh:

Go to the source code of this file.

Classes

union  G4ExpConsts::ieee754
 

Namespaces

 G4ExpConsts
 

Functions

G4double G4ExpConsts::uint642dp (uint64_t ll)
 
G4float G4ExpConsts::uint322sp (G4int x)
 
uint32_t G4ExpConsts::sp2uint32 (G4float x)
 
G4double G4ExpConsts::fpfloor (const G4double x)
 A vectorisable floor implementation, not only triggered by fast-math. More...
 
G4float G4ExpConsts::fpfloor (const G4float x)
 A vectorisable floor implementation, not only triggered by fast-math. More...
 
G4double G4Exp (G4double initial_x)
 Exponential Function double precision. More...
 
G4float G4Expf (G4float initial_x)
 Exponential Function single precision. More...
 
void expv (const uint32_t size, G4double const *__restrict__ iarray, G4double *__restrict__ oarray)
 
void G4Expv (const uint32_t size, G4double const *__restrict__ iarray, G4double *__restrict__ oarray)
 
void expfv (const uint32_t size, G4float const *__restrict__ iarray, G4float *__restrict__ oarray)
 
void G4Expfv (const uint32_t size, G4float const *__restrict__ iarray, G4float *__restrict__ oarray)
 

Variables

const G4double G4ExpConsts::EXP_LIMIT = 708
 
const G4double G4ExpConsts::PX1exp = 1.26177193074810590878E-4
 
const G4double G4ExpConsts::PX2exp = 3.02994407707441961300E-2
 
const G4double G4ExpConsts::PX3exp = 9.99999999999999999910E-1
 
const G4double G4ExpConsts::QX1exp = 3.00198505138664455042E-6
 
const G4double G4ExpConsts::QX2exp = 2.52448340349684104192E-3
 
const G4double G4ExpConsts::QX3exp = 2.27265548208155028766E-1
 
const G4double G4ExpConsts::QX4exp = 2.00000000000000000009E0
 
const G4double G4ExpConsts::LOG2E = 1.4426950408889634073599
 
const G4float G4ExpConsts::MAXLOGF = 88.72283905206835f
 
const G4float G4ExpConsts::MINLOGF = -88.f
 
const G4float G4ExpConsts::C1F = 0.693359375f
 
const G4float G4ExpConsts::C2F = -2.12194440e-4f
 
const G4float G4ExpConsts::PX1expf = 1.9875691500E-4f
 
const G4float G4ExpConsts::PX2expf =1.3981999507E-3f
 
const G4float G4ExpConsts::PX3expf =8.3334519073E-3f
 
const G4float G4ExpConsts::PX4expf =4.1665795894E-2f
 
const G4float G4ExpConsts::PX5expf =1.6666665459E-1f
 
const G4float G4ExpConsts::PX6expf =5.0000001201E-1f
 
const G4float G4ExpConsts::LOG2EF = 1.44269504088896341f
 

Function Documentation

void expfv ( const uint32_t  size,
G4float const *__restrict__  iarray,
G4float *__restrict__  oarray 
)
void expv ( const uint32_t  size,
G4double const *__restrict__  iarray,
G4double *__restrict__  oarray 
)
G4double G4Exp ( G4double  initial_x)
inline

Exponential Function double precision.

Definition at line 183 of file G4Exp.hh.

References G4ExpConsts::EXP_LIMIT, G4ExpConsts::fpfloor(), G4ExpConsts::LOG2E, n, G4ExpConsts::PX1exp, G4ExpConsts::PX2exp, G4ExpConsts::PX3exp, G4ExpConsts::QX1exp, G4ExpConsts::QX2exp, G4ExpConsts::QX3exp, G4ExpConsts::QX4exp, and G4ExpConsts::uint642dp().

Referenced by G4PreCompoundEmission::AngularDistribution(), G4PairProductionRelModel::CalcLPMFunctions(), G4eBremsstrahlungRelModel::CalcLPMFunctions(), G4GEMProbability::CalcProbability(), G4GoudsmitSaundersonMscModel::CalculateIntegrals(), G4PreCompoundTransitions::CalculateProbability(), G4BraggModel::ChemicalFactor(), G4NucleiModel::choosePointAlongTraj(), G4eeToHadronsModel::ComputeCMCrossSectionPerElectron(), G4KleinNishinaModel::ComputeCrossSectionPerAtom(), G4KleinNishinaCompton::ComputeCrossSectionPerAtom(), G4GammaConversionToMuons::ComputeCrossSectionPerAtom(), G4MuBetheBlochModel::ComputeCrossSectionPerElectron(), G4KokoulinMuonNuclearXS::ComputeDDMicroscopicCrossSection(), G4MuBetheBlochModel::ComputeDEDXPerVolume(), G4hPairProductionModel::ComputeDMicroscopicCrossSection(), G4MuPairProductionModel::ComputeDMicroscopicCrossSection(), G4LivermoreBremsstrahlungModel::ComputeDXSectionPerAtom(), G4SeltzerBergerModel::ComputeDXSectionPerAtom(), G4IonisParamMat::ComputeFluctModel(), G4WentzelVIModel::ComputeGeomPathLength(), G4WentzelVIRelModel::ComputeGeomPathLength(), G4GoudsmitSaundersonMscModel::ComputeGeomPathLength(), G4UrbanMscModel::ComputeGeomPathLength(), G4IonisParamMat::ComputeMeanParameters(), G4KokoulinMuonNuclearXS::ComputeMicroscopicCrossSection(), G4MuBremsstrahlungModel::ComputeMicroscopicCrossSection(), G4MuPairProductionModel::ComputeMicroscopicCrossSection(), G4LivermoreComptonModel::ComputeScatteringFunction(), G4GoudsmitSaundersonMscModel::ComputeTrueStepLength(), G4UrbanMscModel::ComputeTrueStepLength(), G4eBremParametrizedModel::ComputeXSectionPerAtom(), G4eBremsstrahlungRelModel::ComputeXSectionPerAtom(), G4MuPairProductionModel::ComputMuPairLoss(), G4BGGNucleonInelasticXS::CoulombFactor(), G4BGGNucleonElasticXS::CoulombFactor(), G4MuPairProductionModel::DataCorrupted(), G4EquilibriumEvaporator::deExcite(), G4PreCompoundModel::DeExcite(), G4ContinuumGammaTransition::E1Pdf(), G4ionEffectiveCharge::EffectiveCharge(), G4BraggModel::ElectronicStoppingPower(), G4BraggIonModel::ElectronicStoppingPower(), G4E1Probability::EmissionProbDensity(), G4Pow::expA(), G4NucleiModel::fillZoneRadii(), G4JTPolynomialSolver::FindRoots(), G4InuclSpecialFunctions::G4cbrt(), G4PhysicsLnVector::G4PhysicsLnVector(), G4PhysicsLogVector::G4PhysicsLogVector(), G4Poisson(), G4Pow::G4Pow(), G4WentzelOKandVIxSection::G4WentzelOKandVIxSection(), G4eeToHadronsModel::GenerateCMPhoton(), G4NucleiModel::generateInteractionLength(), G4PreCompoundProton::GetOpt2(), G4ProtonEvaporationProbability::GetOpt2(), G4PreCompoundProton::GetOpt3(), G4ProtonEvaporationProbability::GetOpt3(), G4ICRU73QOModel::GetOscillatorEnergy(), G4BraggIonModel::HeEffChargeSquare(), G4GEMProbability::I3(), G4NucleiModel::initializeCascad(), G4UrbanMscModel::LatCorrelation(), G4MuPairProductionModel::MakeSamplingTables(), G4eBremsstrahlungRelModel::Phi1(), G4DipBustGenerator::PolarAngle(), G4GammaConversionToMuons::PostStepDoIt(), G4eBremsstrahlungRelModel::Psi1(), G4PreCompoundEmission::rho(), G4UrbanMscModel::SampleCosineTheta(), G4DipBustGenerator::SampleDirection(), G4RayleighAngularGenerator::SampleDirection(), G4UniversalFluctuation::SampleFluctuations(), G4EvaporationChannel::SampleKineticEnergy(), G4GEMChannel::SampleKineticEnergy(), G4WentzelVIRelModel::SampleScattering(), G4WentzelVIModel::SampleScattering(), G4GoudsmitSaundersonMscModel::SampleScattering(), G4UrbanMscModel::SampleScattering(), G4HeatedKleinNishinaCompton::SampleSecondaries(), G4LivermoreGammaConversionModel::SampleSecondaries(), G4LivermoreComptonModel::SampleSecondaries(), G4LivermoreBremsstrahlungModel::SampleSecondaries(), G4SeltzerBergerModel::SampleSecondaries(), G4KleinNishinaModel::SampleSecondaries(), G4KleinNishinaCompton::SampleSecondaries(), G4PairProductionRelModel::SampleSecondaries(), G4eBremsstrahlungRelModel::SampleSecondaries(), G4eBremParametrizedModel::SampleSecondaries(), G4eeToTwoGammaModel::SampleSecondaries(), G4MuPairProductionModel::SampleSecondaries(), G4MuBremsstrahlungModel::SampleSecondaries(), G4IonCoulombCrossSection::SetScreenRSquare(), G4IonCoulombCrossSection::SetupTarget(), G4UrbanMscModel::SimpleScattering(), G4BraggModel::StoppingPower(), G4BraggIonModel::StoppingPower(), G4UrbanMscModel::UpdateCache(), G4NucleiModel::zoneIntegralGaussian(), and G4NucleiModel::zoneIntegralWoodsSaxon().

+ Here is the call graph for this function:

G4float G4Expf ( G4float  initial_x)
inline

Exponential Function single precision.

Definition at line 230 of file G4Exp.hh.

References G4ExpConsts::C1F, G4ExpConsts::C2F, G4ExpConsts::fpfloor(), G4ExpConsts::LOG2EF, G4ExpConsts::MAXLOGF, G4ExpConsts::MINLOGF, n, G4ExpConsts::PX1expf, G4ExpConsts::PX2expf, G4ExpConsts::PX3expf, G4ExpConsts::PX4expf, G4ExpConsts::PX5expf, G4ExpConsts::PX6expf, G4ExpConsts::uint322sp(), and z.

+ Here is the call graph for this function:

void G4Expfv ( const uint32_t  size,
G4float const *__restrict__  iarray,
G4float *__restrict__  oarray 
)
void G4Expv ( const uint32_t  size,
G4double const *__restrict__  iarray,
G4double *__restrict__  oarray 
)