all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: Leo <sdl.web@gmail.com>, 9103@debbugs.gnu.org
Subject: bug#9103: 23.3.50; random* from cl does not support the whole range of integers
Date: Sun, 11 Sep 2011 09:44:28 +0200	[thread overview]
Message-ID: <m2d3f7v7z7.fsf@linux-m68k.org> (raw)
In-Reply-To: <m31uvn22an.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Sun, 11 Sep 2011 05:20:00 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> `random*' ends with
>
> (* (/ n '8388608e0) lim)
>
> if LIM isn't an integer.  Anybody willing to hazard a guess why
> 8388608.0 was chosen?

Because that's the range of n.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





  reply	other threads:[~2011-09-11  7:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-17  4:03 bug#9103: 23.3.50; random* from cl does not support the whole range of integers Leo
2011-07-18 21:56 ` Glenn Morris
2011-07-18 21:58   ` Glenn Morris
2011-07-19  1:21     ` Leo
2011-07-19  1:28       ` Juanma Barranquero
2011-09-11  3:20     ` Lars Magne Ingebrigtsen
2011-09-11  7:44       ` Andreas Schwab [this message]
2021-10-22 15:58       ` Stefan Kangas
2020-11-19  5:19 ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to=m2d3f7v7z7.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=9103@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=sdl.web@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.