Skip to content

Commit e5af24d

Browse files
DOC: Add release note about the fix for 32 bit float random variates.
1 parent 4b9e569 commit e5af24d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Change in generation of random 32 bit floating point variates
2+
-------------------------------------------------------------
3+
There was bug in the generation of 32 bit floating point values from
4+
the uniform distribution that would result in the least significant
5+
bit of the random variate always being 0. This has been fixed.
6+
7+
This change affects the variates produced by the `random.Generator`
8+
methods ``random``, ``standard_normal``, ``standard_exponential``, and
9+
``standard_gamma``, but only when the dtype is specified as
10+
``numpy.float32``.

0 commit comments

Comments
 (0)