Skip to content

Commit 6b9f90d

Browse files
burblebeetkoeppe
authored andcommitted
LWG4153 Fix extra "-1" for philox_engine::max()
1 parent 7226952 commit 6b9f90d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/numerics.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3079,8 +3079,8 @@
30793079

30803080
\pnum
30813081
A \tcode{philox_engine} random number engine produces
3082-
unsigned integer random numbers in the closed interval \crange{0}{$m$},
3083-
where $m = 2^w - 1$ and
3082+
unsigned integer random numbers in the interval \range{0}{$m$},
3083+
where $m = 2^w$ and
30843084
the template parameter $w$ defines the range of the produced numbers.
30853085
The state of a \tcode{philox_engine} object consists of
30863086
a sequence $X$ of $n$ unsigned integer values of width $w$,

0 commit comments

Comments
 (0)