[erlang-questions] [erlang-bugs] Documentation request: integer encoding and truncation

Bjorn Gustavsson <>
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.
>
> http://www.erlang.org/pipermail/erlang-questions/2007-July/027657.html
>
> 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).

/Bjorn

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


More information about the erlang-questions mailing list