#include <ErrorMatrixCompressor.h>
Definition at line 20 of file ErrorMatrixCompressor.h.
◆ DecoderFloat_IEEE754()
| DecoderFloat_IEEE754::DecoderFloat_IEEE754 |
( |
| ) |
|
|
inline |
◆ ~DecoderFloat_IEEE754()
| DecoderFloat_IEEE754::~DecoderFloat_IEEE754 |
( |
| ) |
|
|
inline |
◆ getExponent()
| short int DecoderFloat_IEEE754::getExponent |
( |
| ) |
|
◆ getF()
| float DecoderFloat_IEEE754::getF |
( |
| ) |
|
|
inline |
◆ getL()
| unsigned int DecoderFloat_IEEE754::getL |
( |
| ) |
|
|
inline |
◆ getMantissa()
| unsigned int DecoderFloat_IEEE754::getMantissa |
( |
| ) |
|
◆ print()
| void DecoderFloat_IEEE754::print |
( |
| ) |
|
Definition at line 24 of file ErrorMatrixCompressor.cxx.
25{
26
27 unsigned int mask = 0x00000001;
28 for(
int i=31;
i>=0;
i--)
29 {
30 unsigned int m =
mask <<
i;
31
32 if(
m_data.l & m) std::cout<<
"1";
33 else std::cout<<"0";
34 }
35 std::cout<<std::endl;
36
37
38
39
40
41
42
43
44
45
46}
◆ setExponent()
| void DecoderFloat_IEEE754::setExponent |
( |
short int | ex | ) |
|
◆ setF()
| void DecoderFloat_IEEE754::setF |
( |
float | f | ) |
|
|
inline |
◆ setL()
| void DecoderFloat_IEEE754::setL |
( |
int | l | ) |
|
|
inline |
◆ setSign()
| void DecoderFloat_IEEE754::setSign |
( |
int | s | ) |
|
◆ m_data
The documentation for this class was generated from the following files: