GNU bug report logs - #9103
23.3.50; random* from cl does not support the whole range of integers

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 17 Jul 2011 04:04:01 UTC

Severity: minor

Found in versions 28.0.50, 23.3.50

Full log


Message #23 received at 9103 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: Glenn Morris <rgm <at> gnu.org>, Leo <sdl.web <at> gmail.com>, 9103 <at> debbugs.gnu.org
Subject: Re: 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
Lars Magne Ingebrigtsen <larsi <at> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 3 years and 234 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.