2010-07-13 09:59 AM
CAN IEEE754 Float
#ieee754 #union2011-05-17 04:58 AM
At a guess, something like this:
unsigned char data[8]; float f1 = *((float*)&data[0]); float f2 = *((float*)&data[4]);2011-05-17 04:58 AM
I think you can use union :)
typedef union { u8 data[8]; float data_float[2]; }UIEEE754;2011-05-17 04:58 AM
that is exactly what i did :)