Don't need float to u32 and vice versa functions

This commit is contained in:
twinaphex 2016-08-16 19:59:06 +02:00 committed by zeromus
parent 2759834178
commit 5d52b7a0af
1 changed files with 0 additions and 19 deletions

View File

@ -312,25 +312,6 @@ inline double u64_to_double(u64 u) {
return fuxor.b;
}
inline u32 float_to_u32(float f) {
union {
u32 a;
float b;
} fuxor;
fuxor.b = f;
return fuxor.a;
}
inline float u32_to_float(u32 u) {
union {
u32 a;
float b;
} fuxor;
fuxor.a = u;
return fuxor.b;
}
///stores a 32bit value into the provided byte array in guaranteed little endian form
inline void en32lsb(u8 *buf, u32 morp)
{