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

#include <G4IEEE754.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 39 of file G4IEEE754.hh.

Constructor & Destructor Documentation

◆ ieee754() [1/5]

G4IEEE754::ieee754::ieee754 ( )
default

◆ ieee754() [2/5]

G4IEEE754::ieee754::ieee754 ( G4double thed)
inline

Definition at line 42 of file G4IEEE754.hh.

42{ d = thed; };

◆ ieee754() [3/5]

G4IEEE754::ieee754::ieee754 ( uint64_t thell)
inline

Definition at line 43 of file G4IEEE754.hh.

43{ ll = thell; };

◆ ieee754() [4/5]

G4IEEE754::ieee754::ieee754 ( G4float thef)
inline

Definition at line 44 of file G4IEEE754.hh.

44{ f[0] = thef; };

◆ ieee754() [5/5]

G4IEEE754::ieee754::ieee754 ( uint32_t thei)
inline

Definition at line 45 of file G4IEEE754.hh.

45{ i[0] = thei; };
uint32_t i[2]
Definition G4IEEE754.hh:48

Member Data Documentation

◆ d

G4double G4IEEE754::ieee754::d

Definition at line 46 of file G4IEEE754.hh.

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

◆ f

G4float G4IEEE754::ieee754::f[2]

Definition at line 47 of file G4IEEE754.hh.

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

◆ i

uint32_t G4IEEE754::ieee754::i[2]

Definition at line 48 of file G4IEEE754.hh.

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

◆ ll

uint64_t G4IEEE754::ieee754::ll

Definition at line 49 of file G4IEEE754.hh.

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

◆ s

uint16_t G4IEEE754::ieee754::s[4]

Definition at line 50 of file G4IEEE754.hh.


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