[erlang-questions] OTP float error on ARM

Bjorn Gustavsson <>
Thu Oct 16 08:28:52 CEST 2008


 Thu, Oct 16, 2008 at 7:40 AM, Bob Ippolito <> 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>>

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081016/bf40f1b8/attachment.html>


More information about the erlang-questions mailing list