From owner-cvs-all Tue Feb 27 6:42:27 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5082337B71A; Tue, 27 Feb 2001 06:42:20 -0800 (PST) (envelope-from ache@FreeBSD.org) Received: (from ache@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1REgKh07477; Tue, 27 Feb 2001 06:42:20 -0800 (PST) (envelope-from ache) Message-Id: <200102271442.f1REgKh07477@freefall.freebsd.org> From: "Andrey A. Chernov" Date: Tue, 27 Feb 2001 06:42:20 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib rand.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ache 2001/02/27 06:42:20 PST Modified files: lib/libc/stdlib rand.c Log: Use formula with better random distribution for rand() Even better formula from random() could not be intetgrated because rand_r() supposed to store its state in the single variable (but table needed for random() algorithm integration). Revision Changes Path 1.3 +26 -0 src/lib/libc/stdlib/rand.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message