[erlang-questions] Truncation packing Integer into binary: bug or feature?

Christian chsu79@REDACTED
Fri Aug 22 13:21:13 CEST 2008

It has been mentioned before on the list.


> Is this a bug or a feature? I know that in C, integers overflow silently. I
> would have thought Erlang would raise a badarg error or something. Or would
> it negatively impact performance to check for overflow? Is there a place in
> the docs I did not find that addresses this? I have searched the Erlang
> documentation, Google and the Erlang mailing list archives for clues and
> found nothing so far.

More information about the erlang-questions mailing list