[erlang-questions] Newbie question: wait until an absolute time

Matthias Lang matthias@REDACTED
Fri Feb 1 14:10:41 CET 2008


Alpár Jüttner writes:

 > Anyway, is there any easy way to use a larger timeout than it is
 > representable by a single integer?

Erlang integers don't have an upper limit. (underlying magic switches
to bignum representation).

1> 16#ffffFFFF + 1.
4294967296
2> 16#fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff.
2977131414714805823690030317109266572712515013375254774912983855843898524112477893944078543723575564536883288499266264815757728270805630975

Matt



More information about the erlang-questions mailing list