$ 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 /usr/local/lib/chicken/5/regex.import.so ...
; loading /usr/local/lib/chicken/5/srfi-27-numbers.import.so ...
; loading /usr/local/lib/chicken/5/srfi-27.so ...
[snip more loads]
; loading /usr/local/lib/chicken/5/numbers.so ...
; loading /usr/local/lib/chicken/5/srfi-27-numbers.so ...
[snip more loads]
#;2> (random-integer (expt 2 32))
Floating point exception
$

I'm working on a genetic algorithm framework and ran into this while
testing.  Is there something I'm missing, or should I be trying to
implement the dna handling in chunks of 31 bits? (random-integer (expt 2
31)) works fine.

TIA,
Dave

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to