[erlang-bugs] Documentation request: integer encoding and truncation
Tue Aug 26 08:18:07 CEST 2008
2008/8/22 Edwin Fine <>
> I refer to the following post. I was caught unawares by this apparently
> undocumented behavior.
> May I strongly recommend placing this information (taken from the above
> post) in the Erlang Reference Manual, in the section on binaries. It may
> save other people time and confusion. A further question is whether or not
> this *should* be the behavior. As a language used for writing highly
> reliable systems, shouldn't this overflow condition be caught? Maybe as an
> optional run-time flag?
We consider the behavior to be a feature.
I have now added some information about the behavior to the reference manual
(to appear in R12B-4).
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-bugs