diff --git a/reference/random/book.xml b/reference/random/book.xml index 3a4d4aa44db5..7ebac831c95c 100644 --- a/reference/random/book.xml +++ b/reference/random/book.xml @@ -16,6 +16,7 @@ &reference.random.reference; &reference.random.random.randomizer; + &reference.random.random.intervalboundary; &reference.random.random.engine; &reference.random.random.cryptosafeengine; diff --git a/reference/random/random.intervalboundary.xml b/reference/random/random.intervalboundary.xml new file mode 100644 index 000000000000..f7b273256ad8 --- /dev/null +++ b/reference/random/random.intervalboundary.xml @@ -0,0 +1,79 @@ + + + The Random\IntervalBoundary Enum + Random\IntervalBoundary + + +
+ &reftitle.intro; + + The Random\IntervalBoundary enum specifies + whether an interval includes the boundary values within the set of values + lying in the interval. + +
+ +
+ &reftitle.enumsynopsis; + + + Random\IntervalBoundary + + + ClosedOpen + + A left-open interval. + The lower boundary is included in the interval, + the upper boundary is not. + + + + + ClosedClosed + + A closed interval. + Both boundary values are included in the interval. + + + + + OpenClosed + + A right-open interval. + The upper boundary is included in the interval, + the lower boundary is not. + + + + + OpenOpen + + An open interval. + Neither boundary value is included in the interval. + + + + +
+
+
+ diff --git a/reference/random/versions.xml b/reference/random/versions.xml index eee9c8aadf65..65455f70e35b 100644 --- a/reference/random/versions.xml +++ b/reference/random/versions.xml @@ -95,6 +95,9 @@ + + +