From owner-freebsd-hackers Wed Nov 22 5:19:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 4E9EE37B4D7 for ; Wed, 22 Nov 2000 05:19:40 -0800 (PST) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 13yZo3-0002UA-00 for hackers@freebsd.org; Wed, 22 Nov 2000 15:19:23 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id PAA03101 for ; Wed, 22 Nov 2000 15:19:33 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 2916; Wed Nov 22 15:18:27 2000 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.16 #1) id 13yZn9-0009h9-00 for hackers@FreeBSD.org; Wed, 22 Nov 2000 15:18:27 +0200 From: Sheldon Hearn To: hackers@freebsd.org Subject: BSD's random.c dicey on the Alpha Date: Wed, 22 Nov 2000 15:18:27 +0200 Message-ID: <37270.974899107@axl.fw.uunet.co.za> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, Anyone want to have a look at this? It's from the GNU awk maintainer. Ciao, Sheldon. ------- Forwarded Message From: Aharon Robbins Date: Wed, 22 Nov 2000 11:59:10 +0200 Message-ID: <974887150.75c0d57f@skeeve.com> To: sheldonh@uunet.co.za Subject: BSD random for Alpha? Cc: bostic@bostic.com, michal@phys.ualberta.ca Hi. I've switched to the new random.c you sent me for gawk. My Linux/Alpha Guru reports that the code in it assumes that sizeof(long) is always 4, and one particular test doesn't "look" very random on the Alpha. My question is, is there a better version of random that can deal with both 32 and 64 bit systems in the same source code? Would the NetBSD people maybe have such a thing? Thanks, Arnold - -- Aharon (Arnold) Robbins --- Pioneer Consulting Ltd. arnold@skeeve.com P.O. Box 354 Home Phone: +972 8 979-0381 Fax: +1 603 761-6761 Nof Ayalon Cell Phone: +972 51 297-545 (See www.efax.com) D.N. Shimshon 99785 Laundry increases exponentially in the ISRAEL number of children. -- Miriam Robbins ------- End of Forwarded Message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message