From owner-freebsd-hackers Wed Oct 2 15:03:51 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA10289 for hackers-outgoing; Wed, 2 Oct 1996 15:03:51 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA10281 for ; Wed, 2 Oct 1996 15:03:46 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA04883; Wed, 2 Oct 1996 15:02:42 -0700 From: Terry Lambert Message-Id: <199610022202.PAA04883@phaeton.artisoft.com> Subject: Re: rand() and random() To: jmacd@CS.Berkeley.EDU (Josh MacDonald) Date: Wed, 2 Oct 1996 15:02:42 -0700 (MST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199610021921.MAA03816@paris.CS.Berkeley.EDU> from "Josh MacDonald" at Oct 2, 96 12:21:08 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm curious why rand() still exists. Everyone knows its really > bad. Why not just ditch it in favor of random()? Because it is ANSI conrfmant (man rand). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.