Re: Random number generators
- From: "robin" <robin_v@xxxxxxxxxxx>
- Date: Sat, 21 Nov 2009 22:24:31 GMT
"Ron Shepard" <ron-shepard@xxxxxxxxxxxxxxxxxx> wrote in message
| In binary floating point, are the same number of (equally spaced)
| values between .25 and .50 as there are between .50 and 1.0. Then
| there are that same number of values between .125 and .25, and that
| same number of values again between .0625 and .125, and so on, all
| the way down to the minimum exponent value. In most formats, there
| are about the same number of exponents less than zero as there are
| greater than zero, so about half of the exponent range corresponds
| to floating point values that are between 0 and .5, and only a
| single exponent value corresponds to the floating point values
| between .5 and 1.
| For a given exponent, should a PRNG return all of the associated
| floating point values with equal probability, or only some of them?
Probably a case for integer RNGs.
- Prev by Date: Re: blank in assignment Fortran IV
- Next by Date: Re: blank in assignment Fortran IV
- Previous by thread: Re: Random number generators
- Next by thread: Re: Random number generators