From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mikael Djurfeldt" Newsgroups: gmane.lisp.guile.bugs Subject: Re: Problem with random numbers on the EM64T platform Date: Sun, 19 Feb 2006 17:36:08 +0100 Message-ID: <66e540fe0602190836t56a9557du9422bfe1b923ffef@mail.gmail.com> References: <66e540fe0602180749r34d90071jd5e47851682eb567@mail.gmail.com> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1140387214 2266 80.91.229.2 (19 Feb 2006 22:13:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Feb 2006 22:13:34 +0000 (UTC) Cc: Mikael Djurfeldt Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Feb 19 23:13:32 2006 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FAwo3-0000Zt-5S for guile-bugs@m.gmane.org; Sun, 19 Feb 2006 23:13:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAwo1-0007uM-Q4 for guile-bugs@m.gmane.org; Sun, 19 Feb 2006 17:13:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FArxU-0007il-5g for bug-guile@gnu.org; Sun, 19 Feb 2006 12:02:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FAriO-0003QQ-0i for bug-guile@gnu.org; Sun, 19 Feb 2006 11:47:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FArXd-0000WQ-Oy for bug-guile@gnu.org; Sun, 19 Feb 2006 11:36:10 -0500 Original-Received: from [64.233.162.205] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FArdT-0000qK-Uc for bug-guile@gnu.org; Sun, 19 Feb 2006 11:42:12 -0500 Original-Received: by zproxy.gmail.com with SMTP id s18so709923nze for ; Sun, 19 Feb 2006 08:36:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fRNRQpwBT6lZlNt4mdNvbQUUSDH+AANC2pX5Xtc4PgKZf+eSxGqq0AZctSBTl5iUpB8UxpMTifVSo8WrjvEV+czX/8QZMBg0gpXGtRE8diOzwSWkTGHGqHU18CMzfri9PFCUoEuttNhpdR+YIVW81c5W+hkjQA27Jr74bkhZmeo= Original-Received: by 10.65.54.11 with SMTP id g11mr253455qbk; Sun, 19 Feb 2006 08:36:08 -0800 (PST) Original-Received: by 10.65.100.6 with HTTP; Sun, 19 Feb 2006 08:36:08 -0800 (PST) Original-To: bug-guile@gnu.org In-Reply-To: <66e540fe0602180749r34d90071jd5e47851682eb567@mail.gmail.com> Content-Disposition: inline X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3109 Archived-At: On 2/18/06, Mikael Djurfeldt wrote: > I've compiled CVS HEAD on the EM64T platform (Xeon processor). > > (random:uniform) gives results outside the intended interval [0,1[. I've now fixed this in CVS HEAD: 2006-02-19 Mikael Djurfeldt =09* random.c: Test for SCM_HAVE_T_UINT64 instead of =09SCM_HAVE_T_INT64. =09(scm_i_uniform32, scm_i_uniform32, scm_i_init_rstate): Use =09scm_t_uint64 and scm_t_uint32 instead of scm_t_int64 and =09scm_t_int32. _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile