Skip to content

Commit 1b69b29

Browse files
burblebeetkoeppe
authored andcommitted
LWG4153 Fix extra "-1" for philox_engine::max()
1 parent 4733b87 commit 1b69b29

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
@@ -3080,8 +3080,8 @@
30803080

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

0 commit comments

Comments
 (0)