[erlang-questions] OTP float error on ARM

Bob Ippolito bob@REDACTED
Thu Oct 16 08:51:15 CEST 2008


On Wed, Oct 15, 2008 at 11:28 PM, Bjorn Gustavsson
<bgustavsson@REDACTED> wrote:
>  Thu, Oct 16, 2008 at 7:40 AM, Bob Ippolito <bob@REDACTED> wrote:
>>
>> Well, the float type in Erlang binaries by itself is big endian, not
>> native endian. This is a bug in Erlang.
>
> This is not a bug. The default for numeric types is big endian. If you want
> native endian, you must say so:
>
> <<F/native-float>>

No, this is a bug. <<F/float>> on his platform is not returning big endian.

-bob



More information about the erlang-questions mailing list