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.


class  half
union  half::uif


#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


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 277 of file half.h.

#define HALF_EPSILON   0.00097656

Definition at line 269 of file half.h.

#define HALF_MANT_DIG   11

Definition at line 274 of file half.h.

#define HALF_MAX   65504.0

Definition at line 267 of file half.h.

#define HALF_MAX_10_EXP   4

Definition at line 296 of file half.h.

#define HALF_MAX_EXP   16

Definition at line 287 of file half.h.

#define HALF_MIN   5.96046448e-08

Definition at line 263 of file half.h.

#define HALF_MIN_10_EXP   -4

Definition at line 292 of file half.h.

#define HALF_MIN_EXP   -13

Definition at line 282 of file half.h.

#define HALF_NRM_MIN   6.10351562e-05

Definition at line 265 of file half.h.

#define HALF_RADIX   2

Definition at line 280 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