[erlang-questions] Strange behaviour of =:= applied to int and int64

Paul Davis paul.joseph.davis@REDACTED
Wed Sep 7 19:48:53 CEST 2011

There was a recent thread related to the halfword emulator that would
cause this behavior. Not sure if its the same bug or not, but the
thread has a patch that fixed it for me.

Thread starts at [1] and the patch is at [2].

[1] http://erlang.org/pipermail/erlang-questions/2011-June/059650.html
[2] http://erlang.org/pipermail/erlang-questions/2011-June/059728.html

On Wed, Sep 7, 2011 at 9:49 AM, Dmitry Groshev <lambdadmitry@REDACTED> wrote:
>>Is it possible that you've made a "big" integer with a value of 5 in
> your NIF
> I'm not sure how BEAM handle enif_make_uint64, but I think that it would be
> strange if BEAM represent such numbers as "big integers".
> Anyway, it's a clear abstraction leak.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list