Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ExpConsts::ieee754 Union Reference

#include <G4Exp.hh>

Public Member Functions

 ieee754 ()=default
 
 ieee754 (G4double thed)
 
 ieee754 (uint64_t thell)
 
 ieee754 (G4float thef)
 
 ieee754 (uint32_t thei)
 

Public Attributes

G4double d
 
G4float f [2]
 
uint32_t i [2]
 
uint64_t ll
 
uint16_t s [4]
 

Detailed Description

Definition at line 104 of file G4Exp.hh.

Constructor & Destructor Documentation

◆ ieee754() [1/5]

G4ExpConsts::ieee754::ieee754 ( )
default

◆ ieee754() [2/5]

G4ExpConsts::ieee754::ieee754 ( G4double thed)
inline

Definition at line 107 of file G4Exp.hh.

107{ d = thed; };

◆ ieee754() [3/5]

G4ExpConsts::ieee754::ieee754 ( uint64_t thell)
inline

Definition at line 108 of file G4Exp.hh.

108{ ll = thell; };

◆ ieee754() [4/5]

G4ExpConsts::ieee754::ieee754 ( G4float thef)
inline

Definition at line 109 of file G4Exp.hh.

109{ f[0] = thef; };

◆ ieee754() [5/5]

G4ExpConsts::ieee754::ieee754 ( uint32_t thei)
inline

Definition at line 110 of file G4Exp.hh.

110{ i[0] = thei; };
uint32_t i[2]
Definition G4Exp.hh:113

Member Data Documentation

◆ d

G4double G4ExpConsts::ieee754::d

Definition at line 111 of file G4Exp.hh.

Referenced by ieee754(), and G4ExpConsts::uint642dp().

◆ f

G4float G4ExpConsts::ieee754::f[2]

Definition at line 112 of file G4Exp.hh.

Referenced by ieee754(), G4ExpConsts::sp2uint32(), and G4ExpConsts::uint322sp().

◆ i

uint32_t G4ExpConsts::ieee754::i[2]

Definition at line 113 of file G4Exp.hh.

Referenced by ieee754(), G4ExpConsts::sp2uint32(), and G4ExpConsts::uint322sp().

◆ ll

uint64_t G4ExpConsts::ieee754::ll

Definition at line 114 of file G4Exp.hh.

Referenced by ieee754(), and G4ExpConsts::uint642dp().

◆ s

uint16_t G4ExpConsts::ieee754::s[4]

Definition at line 115 of file G4Exp.hh.


The documentation for this union was generated from the following file: