2009/1/19 Panicz Maciej Godek <[email protected]>:
> Hi,
> I've been writing a program that has something to do with
> time processing. It uses the function get-internal-real-time
> to measure time in an infinite loop.
>
> I haven't been using running the program long enough to
> experience the range-exceeding phenomenon, but I thought
> of avoiding it in advance.
>
> The problem may appear when I add some number to the
> return value of get-internal-real-time -- what if, during addition,
> the scheme fixnum limit is exceeded and the variable becomes
> a bignum?

It becomes a bignum.  Why is that a problem?

(Serious question, because the best solution may depend on why this
actually matters...)

      Neil


Reply via email to