Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 06:42:20 -0800 (PST)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib rand.c
Message-ID:  <200102271442.f1REgKh07477@freefall.freebsd.org>

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

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




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