unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Andreas Rottmann <a.rottmann@gmx.at>
Cc: Guile Development <guile-devel@gnu.org>
Subject: Re: Random numbers (again) broken on 64-bit platforms
Date: Sun, 01 Aug 2010 21:57:53 +0200	[thread overview]
Message-ID: <m3r5ii3y2m.fsf@unquote.localdomain> (raw)
In-Reply-To: <87mxt6maud.fsf@delenn.lan> (Andreas Rottmann's message of "Sun,  01 Aug 2010 20:44:42 +0200")

Hi,

On Sun 01 Aug 2010 20:44, Andreas Rottmann <a.rottmann@gmx.at> writes:

> I've spotted an issue with your fix: the way 64-bit random numbers are
> generated in scm_random() is bogus;

Grr, indeed. Fix applied, thanks.

>> Would you be interested in [importing another rng]? We would need
>> some test suites too, I think, and possibly changes to the scm_t_rng
>> structure.
>>
> Sorry, I don't have the inclination to work on this ATM. Also, random
> number tests are kinda hard to write -- it's random stuff, after all
> :-).

Too bad, we could really use it, and now is the time for any needed ABI
breaks. Thanks anyway for the fix!

Andy
-- 
http://wingolog.org/



  reply	other threads:[~2010-08-01 19:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 21:01 Random numbers (again) broken on 64-bit platforms Andreas Rottmann
2010-07-27  8:52 ` Andy Wingo
2010-08-01 18:44   ` Andreas Rottmann
2010-08-01 19:57     ` Andy Wingo [this message]
2010-08-01 22:06       ` No Itisnt
2010-08-02  7:11         ` Andy Wingo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r5ii3y2m.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=a.rottmann@gmx.at \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).