File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ that into your source directory or copy it into the system's include path.
63
63
Note that a canonical uniform variate is in [ 2<sup >-1</sup >, 2<sup >0</sup >) with probability 2<sup >-1</sup >,
64
64
or in [ 2<sup >-2</sup >, 2<sup >-1</sup >) with probability 2<sup >-2</sup >, or in [ 2<sup >-3</sup >,
65
65
2<sup >-2</sup >) with probability 2<sup >-3</sup >, and so on and so forth. This is a geometric distribution
66
- with p=1/2. So the fraction part of the floating-point number is initialized with a uniform variate in [ 0.5,
67
- 1 ) and then it is multiplied by 2 raised to the power of a negative geometric variate. All floating-point
66
+ with p=1/2. So the fraction part of the floating-point number is initialized with a uniform variate in [ 0.5, 1)
67
+ and then it is multiplied by 2 raised to the power of a negative geometric variate. All floating-point
68
68
values in the interval [ 0.5, 1) are evenly spaced just like fixed-point numbers.
69
69
70
70
In a uniform integer each bit is 0 or 1 with independent equal probability 1/2, therefore the position of the
You can’t perform that action at this time.
0 commit comments