Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 15:18:27 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        hackers@freebsd.org
Subject:   BSD's random.c dicey on the Alpha
Message-ID:  <37270.974899107@axl.fw.uunet.co.za>

next in thread | raw e-mail | index | archive | help

Hi folks,

Anyone want to have a look at this?  It's from the GNU awk maintainer.

Ciao,
Sheldon.

------- Forwarded Message

From: Aharon Robbins <arnold@skeeve.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37270.974899107>