We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9e569 commit e5af24dCopy full SHA for e5af24d
doc/release/upcoming_changes/20314.change.rst
@@ -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