On Sat, 2019-04-06 at 11:28 +0200, cyrille henry wrote:
> 
> 
> An other solution is to use bitwise operator :
> 
> my_float = (byte1 << 24) & (byte2 << 16) & (byte3 << 8) & byte4;

From what I understand, the result is not a 32 bit floating point
number, but a 32 bit unsigned int (assuming that each byte is an
unsigned 8 bit int).

Roman

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to