Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IEEE_754_unions.h File Reference
#include <iomanip>
Include dependency graph for IEEE_754_unions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  IEEE_754_double
 
union  IEEE_754_float
 

Functions

void show (IEEE_754_double *p)
 
void show (IEEE_754_float *p)
 

Function Documentation

void show ( IEEE_754_double p)
inline

Definition at line 94 of file IEEE_754_unions.h.

References IEEE_754_double::c, IEEE_754_double::H, and IEEE_754_double::L.

95 {
96  std::cout << std::endl;
97  std::cout << std::hex << std::setw(8) << std::setfill('0') << p->c.H;
98  std::cout << ' ';
99  std::cout << std::hex << std::setw(8) << std::setfill('0') << p->c.L;
100  std::cout << std::endl;
101 }
struct IEEE_754_double::@32 c
void show ( IEEE_754_float p)
inline

Definition at line 105 of file IEEE_754_unions.h.

References IEEE_754_float::c.

106 {
107  std::cout << std::endl;
108  std::cout << std::hex << std::setw(8) << std::setfill('0') << p->c;
109  std::cout << std::endl;
110 }