On Mon 19 Jan 2009 22:02, "Panicz Maciej Godek" <[email protected]> writes:

> 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?

You could (logand (get-internal-real-time) most-positive-fixnum)

Have you determined when this could happen? most-positive-fixnum can be
quite large on 64-bit machines. I guess you only get 64 days without
bignums on 32-bit machines.

Andy
-- 
http://wingolog.org/


Reply via email to