chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Big Randoms


From: Peter Bex
Subject: Re: [Chicken-users] Big Randoms
Date: Fri, 11 Mar 2011 09:37:06 +0100
User-agent: Mutt/1.4.2.3i

On Thu, Mar 10, 2011 at 07:44:19PM -0800, Kon Lovett wrote:
> 
> What happens w/ 4.6.0 when you import 'numbers' into the toplevel? i.e.
> 
> (use numbers srfi-27)
> (expt 2 32) ;=> ???
> (random-integer (expt 2 32)) ;=> ???

That should not have any effect, unless srfi-27 contains special code
to deal with numbers (if it imports "scheme" it will probably use the
core operators, not the ones that can handle bignums).

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]