POV-Ray : Newsgroups : povray.newusers : Need rand() help : Re: Need rand() help Server Time
29 Jul 2024 02:27:46 EDT (-0400)
  Re: Need rand() help  
From: Warp
Date: 10 Jan 2007 03:31:57
Message: <45a4a47c@news.povray.org>
Larry Hudson <org### [at] yahoocom> wrote:
> As to Slime's guess of 2^32 numbers, this would be true if the algorithm 
> is based on 32-bit integers.

  It is, and it goes through all the possible 2^32 values. The value is
just then scales to the 0-1 range before returning.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.