Traversing a binary

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Mon Oct 4 22:56:54 CEST 2004


From: "Luke Gorrie" <luke@REDACTED>
>    %% checksum_4 crashes on this:
> %%    F = <<E/binary,E/binary,E/binary,E/binary,E/binary>>,

Well, when the binary has more than 2^24 bits, then you can't build a bignum 
from it anymore. I guess the reason is that in <<C:Bits>>, Bits can't be a 
bignum.

Congratulations, you discovered a limitation of the system! :-D

regards,
Vlad



More information about the erlang-questions mailing list