chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] random returns the same number on x86_64 a


From: Alex Shinn
Subject: Re: [Chicken-hackers] [PATCH] random returns the same number on x86_64 all the time
Date: Thu, 1 Mar 2012 10:55:07 +0900

On Thu, Mar 1, 2012 at 5:00 AM, Peter Bex <address@hidden> wrote:
> Hi!
>
> While looking into the strange behavior found in #793 I found out the
> following disturbing fact (ONLY on amd64):
>
> #;1> (random most-positive-fixnum)
> -2147483648
> #;2> (random most-positive-fixnum)
> -2147483648
> #;3> (random most-positive-fixnum)
> -2147483648
> #;4> (random most-positive-fixnum)
> -2147483648
> ..etc..

http://xkcd.com/221/
http://dilbert.com/strips/comic/2001-10-25/

-- 
Alex



reply via email to

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