|
|
Warp <war### [at] tagpovrayorg> wrote:
> A 32-bit number, which can represent 2^32 different values, contains
> 32 *binary* digits (ie. 0 or 1).
> In decimal the maximum value of a 32-bit number is 4294967295 (10 digits).
> - Warp
Thanks. BTW, the clue was sitting there right in front of me, and I didn't
*see* it. Sorry.
Warp wrote...
> The seed value (which is a 32-bit integer) jumps pseudorandomly over
> its entire value space (ie. between 0 and 2^32-1) and the value returned
> by rand() is simply calculated from this seed value.
Ken
Post a reply to this message
|
|