Single precision floating point conversion converter decoder makes it readable
SP_FP.h
- Committer:
- LORDTEK
- Date:
- 2015-01-20
- Revision:
- 0:f99d1aa55201
File content as of revision 0:f99d1aa55201:
#ifndef SP_FP_H #define SP_FP_H #include "mbed.h" class SP_FP { public: SP_FP(); float decoder(uint32_t VALUE); private: float result; uint32_t value_Temp; // Needed because of bitwise operations }; #endif