Skip to content

Commit 78723b3

Browse files
Minor clarification (GH-22708) (GH-22709)
1 parent d197b2b commit 78723b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/random.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,9 @@ Recipes
545545

546546
The default :func:`.random` returns multiples of 2⁻⁵³ in the range
547547
*0.0 ≤ x < 1.0*. All such numbers are evenly spaced and are exactly
548-
representable as Python floats. However, many floats in that interval
549-
are not possible selections. For example, ``0.05954861408025609``
550-
isn't an integer multiple of 2⁻⁵³.
548+
representable as Python floats. However, many other representable
549+
floats in that interval are not possible selections. For example,
550+
``0.05954861408025609`` isn't an integer multiple of 2⁻⁵³.
551551

552552
The following recipe takes a different approach. All floats in the
553553
interval are possible selections. The mantissa comes from a uniform

0 commit comments

Comments
 (0)