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

#include <G4Log.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 85 of file G4Log.hh.

Constructor & Destructor Documentation

◆ ieee754() [1/5]

G4LogConsts::ieee754::ieee754 ( )
default

◆ ieee754() [2/5]

G4LogConsts::ieee754::ieee754 ( G4double  thed)
inline

Definition at line 88 of file G4Log.hh.

88{ d = thed; };

◆ ieee754() [3/5]

G4LogConsts::ieee754::ieee754 ( uint64_t  thell)
inline

Definition at line 89 of file G4Log.hh.

89{ ll = thell; };

◆ ieee754() [4/5]

G4LogConsts::ieee754::ieee754 ( G4float  thef)
inline

Definition at line 90 of file G4Log.hh.

90{ f[0] = thef; };
G4float f[2]
Definition: G4Log.hh:93

◆ ieee754() [5/5]

G4LogConsts::ieee754::ieee754 ( uint32_t  thei)
inline

Definition at line 91 of file G4Log.hh.

91{ i[0] = thei; };
uint32_t i[2]
Definition: G4Log.hh:94

Member Data Documentation

◆ d

G4double G4LogConsts::ieee754::d

Definition at line 92 of file G4Log.hh.

Referenced by G4LogConsts::dp2uint64(), ieee754(), and G4LogConsts::uint642dp().

◆ f

G4float G4LogConsts::ieee754::f[2]

Definition at line 93 of file G4Log.hh.

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

◆ i

uint32_t G4LogConsts::ieee754::i[2]

Definition at line 94 of file G4Log.hh.

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

◆ ll

uint64_t G4LogConsts::ieee754::ll

Definition at line 95 of file G4Log.hh.

Referenced by G4LogConsts::dp2uint64(), ieee754(), and G4LogConsts::uint642dp().

◆ s

uint16_t G4LogConsts::ieee754::s[4]

Definition at line 96 of file G4Log.hh.


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