Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/Half/half.h>
Classes | |
union | uif |
Public Member Functions | |
half () | |
half (float f) | |
operator float () const | |
half | operator- () const |
half & | operator= (half h) |
half & | operator= (float f) |
half & | operator+= (half h) |
half & | operator+= (float f) |
half & | operator-= (half h) |
half & | operator-= (float f) |
half & | operator*= (half h) |
half & | operator*= (float f) |
half & | operator/= (half h) |
half & | operator/= (float f) |
half | round (unsigned int n) const |
bool | isFinite () const |
bool | isNormalized () const |
bool | isDenormalized () const |
bool | isZero () const |
bool | isNan () const |
bool | isInfinity () const |
bool | isNegative () const |
unsigned short | bits () const |
void | setBits (unsigned short bits) |
Static Public Member Functions | |
static half | posInf () |
static half | negInf () |
static half | qNan () |
static half | sNan () |
Static Private Member Functions | |
static short | convert (int i) |
static float | overflow () |
Private Attributes | |
unsigned short | _h |
Static Private Attributes | |
static HALF_EXPORT_CONST uif | _toFloat [1<< 16] |
static HALF_EXPORT_CONST unsigned short | _eLut [1<< 9] |
Definition at line 102 of file half.h.
View newest version in sPHENIX GitHub at line 102 of file half.h
|
inline |
Definition at line 427 of file half.h.
View newest version in sPHENIX GitHub at line 427 of file half.h
Referenced by operator*=(), operator+=(), operator-=(), operator/=(), and operator=().
|
inline |
Definition at line 438 of file half.h.
View newest version in sPHENIX GitHub at line 438 of file half.h
References _eLut, _h, convert(), Acts::UnitConstants::e, f, half::uif::f, half::uif::i, Acts::UnitConstants::m, and ambiguity_solver_full_chain::x.
|
inline |
Definition at line 754 of file half.h.
View newest version in sPHENIX GitHub at line 754 of file half.h
References _h.
Referenced by HepMCCompress::FloatToInt(), VariableArrayUtils::FloatToShortBits(), halfFunction< T >::operator()(), and setBits().
|
staticprivate |
|
inline |
Definition at line 677 of file half.h.
View newest version in sPHENIX GitHub at line 677 of file half.h
References _h, Acts::UnitConstants::e, and Acts::UnitConstants::m.
|
inline |
|
inline |
Definition at line 702 of file half.h.
View newest version in sPHENIX GitHub at line 702 of file half.h
References _h, Acts::UnitConstants::e, and Acts::UnitConstants::m.
Referenced by halfFunction< T >::halfFunction().
|
inline |
Definition at line 693 of file half.h.
View newest version in sPHENIX GitHub at line 693 of file half.h
References _h, Acts::UnitConstants::e, and Acts::UnitConstants::m.
Referenced by halfFunction< T >::halfFunction().
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticprivate |
|
inlinestatic |
|
inlinestatic |
|
inline |
Definition at line 513 of file half.h.
View newest version in sPHENIX GitHub at line 513 of file half.h
References _h, Acts::UnitConstants::e, h, n, and physmon_simulation::s.
|
inline |
Definition at line 761 of file half.h.
View newest version in sPHENIX GitHub at line 761 of file half.h
Referenced by halfFunction< T >::halfFunction(), and VariableArrayUtils::ShortBitsToFloat().
|
inlinestatic |
|
staticprivate |
|
private |
Definition at line 228 of file half.h.
View newest version in sPHENIX GitHub at line 228 of file half.h
Referenced by bits(), half(), isDenormalized(), isFinite(), isInfinity(), isNan(), isNegative(), isNormalized(), isZero(), negInf(), operator-(), operator=(), posInf(), qNan(), round(), setBits(), and sNan().
|
staticprivate |