Re: [Chicken-users] Big Randoms

2011-03-11 Thread David N Murray
On Mar 11, Christian Kellermann scribed: > > If we are lucky we can see something obvious. :) > For posterity (and the archives) $ ulimit -c unlimited # enables coredumps but, I did it this way, instead: $ cat t1.scm (use srfi-27) (print (random-integer (expt 2 32))) $ csc -o t1 -k t1.scm $ gdb t

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Kon Lovett
On Mar 10, 2011, at 8:56 PM, David N Murray wrote: On Mar 10, Kon Lovett scribed: What happens w/ 4.6.0 when you import 'numbers' into the toplevel? i.e. #;1> (use numbers srfi-27) #;2> (expt 2 32) 4294967296 #;3> (random-integer (expt 2 32)) Floating point exception Same problem. I'

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Christian Kellermann
* David N Murray [110311 16:36]: > On Mar 11, David N Murray scribed: > > > #;2> (random-integer (expt 2 32)) > > Floating point exception > > > > Looking at the difference between your csi announcement and mine, I notice > > that I'm building the 64bit version. > > Is there something I can do t

Re: [Chicken-users] Big Randoms

2011-03-11 Thread David N Murray
On Mar 11, David N Murray scribed: > #;2> (random-integer (expt 2 32)) > Floating point exception > > Looking at the difference between your csi announcement and mine, I notice > that I'm building the 64bit version. Is there something I can do to build chicken and the egg (and use gdb?) to get mo

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Jim Ursetto
On Mar 11, 2011, at 8:55 AM, David N Murray wrote: > Looking at the difference between your csi announcement and mine, I notice > that I'm building the 64bit version. If I try the same thing on a 32-bit > build, I don't have the problem. Not that this helps much but I can reproduce the SIGFPE (o

Re: [Chicken-users] Big Randoms

2011-03-11 Thread David N Murray
On Mar 10, Kon Lovett scribed: > > Hi David, > > I get the folllowing: > > $ csi -n > > CHICKEN > (c)2008-2011 The Chicken Team > (c)2000-2007 Felix L. Winkelmann > Version 4.6.5 > macosx-unix-gnu-ppc [ manyargs dload ptables ] > compiled 2011-02-03 on Nikko.local (Darwin) > [snip] > #;3> (random-

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Peter Bex
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

Re: [Chicken-users] Big Randoms

2011-03-10 Thread Kon Lovett
On Mar 10, 2011, at 7:26 PM, David N Murray wrote: $ csi CHICKEN (c)2008-2010 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.6.0 macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2010-12-08 on sauron.local (Darwin) #;1> (use srfi-27) [snip loadings] ; loading /usr/

[Chicken-users] Big Randoms

2011-03-10 Thread David N Murray
$ csi CHICKEN (c)2008-2010 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.6.0 macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2010-12-08 on sauron.local (Darwin) #;1> (use srfi-27) [snip loadings] ; loading /usr/local/lib/chicken/5/numbers.import.so ... ; loading /us