Little-endian doubles

Per Gustafsson per.gustafsson@REDACTED
Wed Oct 5 13:19:32 CEST 2005


You can write it like this:
<<Float:64/float-little>>

signed has no meaning for floats.

Per

> It looks like I can do this:
>
> <<Float:32/signed-float>>
>
> and replace 32 with 64.
>
> Where would I plug the little-endian, though? Can I just say little- 
> float?
>
>     Thanks, Joel
>
> On Oct 5, 2005, at 12:58 PM, Joel Reymont wrote:
>
>> Folks,
>>
>> How would you unpack a little-endian double sent to you from Win32  
>> as a binary?
>
>
> -- 
> http://wagerlabs.com/idealab
>
>
>
>
>




More information about the erlang-questions mailing list