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

#include <G4Exp.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 103 of file G4Exp.hh.

Constructor & Destructor Documentation

◆ ieee754() [1/5]

G4ExpConsts::ieee754::ieee754 ( )
inline

Definition at line 105 of file G4Exp.hh.

105{};

◆ ieee754() [2/5]

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

Definition at line 106 of file G4Exp.hh.

106{ d = thed; };

References d.

◆ ieee754() [3/5]

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

Definition at line 107 of file G4Exp.hh.

107{ ll = thell; };

References ll.

◆ ieee754() [4/5]

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

Definition at line 108 of file G4Exp.hh.

108{ f[0] = thef; };
G4float f[2]
Definition: G4Exp.hh:111

References f.

◆ ieee754() [5/5]

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

Definition at line 109 of file G4Exp.hh.

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

References i.

Field Documentation

◆ d

G4double G4ExpConsts::ieee754::d

Definition at line 110 of file G4Exp.hh.

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

◆ f

G4float G4ExpConsts::ieee754::f[2]

Definition at line 111 of file G4Exp.hh.

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

◆ i

uint32_t G4ExpConsts::ieee754::i[2]

Definition at line 112 of file G4Exp.hh.

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

◆ ll

uint64_t G4ExpConsts::ieee754::ll

Definition at line 113 of file G4Exp.hh.

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

◆ s

uint16_t G4ExpConsts::ieee754::s[4]

Definition at line 114 of file G4Exp.hh.


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