Geant4-11
Public Member Functions | Data Fields
G4LogConsts::ieee754 Union Reference

#include <G4Log.hh>

Public Member Functions

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

Data Fields

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

Detailed Description

Definition at line 84 of file G4Log.hh.

Constructor & Destructor Documentation

◆ ieee754() [1/5]

G4LogConsts::ieee754::ieee754 ( )
inline

Definition at line 86 of file G4Log.hh.

86{};

◆ ieee754() [2/5]

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

Definition at line 87 of file G4Log.hh.

87{ d = thed; };

References d.

◆ ieee754() [3/5]

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

Definition at line 88 of file G4Log.hh.

88{ ll = thell; };

References ll.

◆ ieee754() [4/5]

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

Definition at line 89 of file G4Log.hh.

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

References f.

◆ ieee754() [5/5]

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

Definition at line 90 of file G4Log.hh.

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

References i.

Field Documentation

◆ d

G4double G4LogConsts::ieee754::d

Definition at line 91 of file G4Log.hh.

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

◆ f

G4float G4LogConsts::ieee754::f[2]

Definition at line 92 of file G4Log.hh.

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

◆ i

uint32_t G4LogConsts::ieee754::i[2]

Definition at line 93 of file G4Log.hh.

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

◆ ll

uint64_t G4LogConsts::ieee754::ll

Definition at line 94 of file G4Log.hh.

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

◆ s

uint16_t G4LogConsts::ieee754::s[4]

Definition at line 95 of file G4Log.hh.


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