unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Rafael D Sorkin <rsorkin@perimeterinstitute.ca>
To: 8940@debbugs.gnu.org
Subject: bug#8940: Evidence of bug in `random'
Date: Sun, 26 Jun 2011 23:40:18 -0400	[thread overview]
Message-ID: <E1Qb2gM-0005pB-P6@mars.pi.local> (raw)

The following report refers to this version of emacs: 

  GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4) of
  2011-04-04 on crested, modified by Debian

Hello,

I'm sorry to submit a rather vague report, but I have found
strong evidence of some sort of problem with the random number
generator `random'.  I see the difficulty only indirectly in
some simulations I'm running.  Results obtained from elisp's
`random' disagree by over 6 sigma with results obtained from
`mt-random' (the "mersenne twister") or from the built-in
functions in both clisp and sbcl.  

Perhaps you could check for changes from earlier versions.
The problem seems absent from version 22.1.1.

Here's some info on the hardware from /proc/cpuinfo
  processor       : 0
  vendor_id       : GenuineIntel
  cpu family      : 6
  model           : 15
  model name      : Intel(R) Xeon(R) CPU           E5335  @
  2.00GHz
  stepping        : 11
  cpu MHz         : 1995.000
  cache size      : 4096 KB
  fpu             : yes
  fpu_exception   : yes
  cpuid level     : 10
  wp              : yes
  flags           : fpu vme de pse tsc msr pae mce cx8 apic sep
  mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2
  ss syscall lm constant_tsc arch\
  _perfmon pebs bts rep_good nopl tsc_reliable aperfmperf pni
  ssse3 cx16 hypervisor lahf_lm dts
  bogomips        : 3990.00
  clflush size    : 64
  cache_alignment : 64
  address sizes   : 40 bits physical, 48 bits virtual
  power management:

Thanks,

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
 Rafael Sorkin
 Perimeter Institute for Theoretical Physics
 31 Caroline Street North
 Waterloo, ON  N2L 2Y5
 Canada
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~





             reply	other threads:[~2011-06-27  3:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27  3:40 Rafael D Sorkin [this message]
2011-07-09  8:15 ` bug#8940: Evidence of bug in `random' Paul Eggert

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/emacs/

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

  git send-email \
    --in-reply-to=E1Qb2gM-0005pB-P6@mars.pi.local \
    --to=rsorkin@perimeterinstitute.ca \
    --cc=8940@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).