Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
half.h File Reference
#include <iostream>
+ Include dependency graph for half.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  half
 
union  half::uif
 

Macros

#define HALF_EXPORT
 
#define HALF_EXPORT_CONST   const
 
#define HALF_MIN   5.96046448e-08
 
#define HALF_NRM_MIN   6.10351562e-05
 
#define HALF_MAX   65504.0
 
#define HALF_EPSILON   0.00097656
 
#define HALF_MANT_DIG   11
 
#define HALF_DIG   2
 
#define HALF_RADIX   2
 
#define HALF_MIN_EXP   -13
 
#define HALF_MAX_EXP   16
 
#define HALF_MIN_10_EXP   -4
 
#define HALF_MAX_10_EXP   4
 

Functions

HALF_EXPORT std::ostream & operator<< (std::ostream &os, half h)
 
HALF_EXPORT std::istream & operator>> (std::istream &is, half &h)
 
HALF_EXPORT void printBits (std::ostream &os, half h)
 
HALF_EXPORT void printBits (std::ostream &os, float f)
 
HALF_EXPORT void printBits (char c[19], half h)
 
HALF_EXPORT void printBits (char c[35], float f)
 

Macro Definition Documentation

#define HALF_DIG   2

Definition at line 286 of file half.h.

View newest version in sPHENIX GitHub at line 286 of file half.h

#define HALF_EPSILON   0.00097656

Definition at line 278 of file half.h.

View newest version in sPHENIX GitHub at line 278 of file half.h

Referenced by std::numeric_limits< half >::epsilon(), and std::numeric_limits< half >::round_error().

#define HALF_EXPORT

Definition at line 98 of file half.h.

View newest version in sPHENIX GitHub at line 98 of file half.h

#define HALF_EXPORT_CONST   const

Definition at line 99 of file half.h.

View newest version in sPHENIX GitHub at line 99 of file half.h

#define HALF_MANT_DIG   11

Definition at line 283 of file half.h.

View newest version in sPHENIX GitHub at line 283 of file half.h

#define HALF_MAX   65504.0

Definition at line 276 of file half.h.

View newest version in sPHENIX GitHub at line 276 of file half.h

Referenced by std::numeric_limits< half >::max().

#define HALF_MAX_10_EXP   4

Definition at line 305 of file half.h.

View newest version in sPHENIX GitHub at line 305 of file half.h

#define HALF_MAX_EXP   16

Definition at line 296 of file half.h.

View newest version in sPHENIX GitHub at line 296 of file half.h

#define HALF_MIN   5.96046448e-08

Definition at line 272 of file half.h.

View newest version in sPHENIX GitHub at line 272 of file half.h

Referenced by std::numeric_limits< half >::denorm_min().

#define HALF_MIN_10_EXP   -4

Definition at line 301 of file half.h.

View newest version in sPHENIX GitHub at line 301 of file half.h

#define HALF_MIN_EXP   -13

Definition at line 291 of file half.h.

View newest version in sPHENIX GitHub at line 291 of file half.h

#define HALF_NRM_MIN   6.10351562e-05

Definition at line 274 of file half.h.

View newest version in sPHENIX GitHub at line 274 of file half.h

Referenced by std::numeric_limits< half >::min().

#define HALF_RADIX   2

Definition at line 289 of file half.h.

View newest version in sPHENIX GitHub at line 289 of file half.h

Function Documentation

HALF_EXPORT std::ostream& operator<< ( std::ostream &  os,
half  h 
)
HALF_EXPORT std::istream& operator>> ( std::istream &  is,
half h 
)
HALF_EXPORT void printBits ( std::ostream &  os,
half  h 
)
HALF_EXPORT void printBits ( std::ostream &  os,
float  f 
)
HALF_EXPORT void printBits ( char  c[19],
half  h 
)
HALF_EXPORT void printBits ( char  c[35],
float  f 
)