#pragma once #include union ieeefloat { float f; struct { uint32_t mantisse:23; uint32_t exponent:8; uint32_t sign:1; }; }; typedef union ieeefloat IEEEFLOAT; #define IEEEFLOAT(p) ((IEEEFLOAT*)p)