HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
half.h File Reference
#include "halfExport.h"
#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_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   3
 
#define HALF_DECIMAL_DIG   5
 
#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_DECIMAL_DIG   5

Definition at line 287 of file half.h.

#define HALF_DIG   3

Definition at line 283 of file half.h.

#define HALF_EPSILON   0.00097656

Definition at line 273 of file half.h.

#define HALF_MANT_DIG   11

Definition at line 278 of file half.h.

#define HALF_MAX   65504.0

Definition at line 271 of file half.h.

#define HALF_MAX_10_EXP   4

Definition at line 307 of file half.h.

#define HALF_MAX_EXP   16

Definition at line 298 of file half.h.

#define HALF_MIN   5.96046448e-08

Definition at line 267 of file half.h.

#define HALF_MIN_10_EXP   -4

Definition at line 303 of file half.h.

#define HALF_MIN_EXP   -13

Definition at line 293 of file half.h.

#define HALF_NRM_MIN   6.10351562e-05

Definition at line 269 of file half.h.

#define HALF_RADIX   2

Definition at line 291 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 
)