[erlang-questions] Fwd: max timeout
Thu Aug 21 13:57:08 CEST 2008
> ---------- Forwarded message ----------
> From: Bjorn Gustavsson <bgustavsson@REDACTED>
> Date: Thu, Aug 21, 2008 at 5:33 AM
> Subject: Re: [erlang-questions] max timeout
> To: Serge Aleynikov <saleyn@REDACTED>
> On Wed, Aug 20, 2008 at 12:38 PM, Serge Aleynikov <saleyn@REDACTED> wrote:
>> So, does this mean that #1 below is indeed the right answer and that
>> 'receve after' implementation correctly deals with bignums between 2^27 and
> No, #2 is the correct answer.
>> 1. 2^32 (this is what's documented, but only seems to work in the shell)
> Documented where? Note that 2^32 does NOT fit in 32 bits (it is a one
> followed by 32 zeroes; i.e. 33 bits).
You are absolutely right! Typing message too quickly without thinking
is quite embarrassing. :-( What I really should have asked was
whether the limit was 0xffffFFFF (2^32-1) or 0x7FFFffff (2^31-1).
Though your comment below explained my main concern regarding bignums.
>> 3. Erlang's small integers (2^27-1 = 1.5 days)
> There used to be such limitation, a long time ago.
Thank you very much!
More information about the erlang-questions