diff --git a/reference/random/book.xml b/reference/random/book.xml index b425e8dd3c..b9d1a183b0 100644 --- a/reference/random/book.xml +++ b/reference/random/book.xml @@ -1,6 +1,6 @@ - + 乱数生成器および、乱数関連の関数 @@ -18,6 +18,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/functions/lcg-value.xml b/reference/random/functions/lcg-value.xml index 03a2f17b29..9f9062cc9b 100644 --- a/reference/random/functions/lcg-value.xml +++ b/reference/random/functions/lcg-value.xml @@ -1,6 +1,6 @@ - + @@ -15,6 +15,7 @@ &reftitle.description; + #[\Deprecated] floatlcg_value diff --git a/reference/random/random.intervalboundary.xml b/reference/random/random.intervalboundary.xml new file mode 100644 index 0000000000..12ba013b9d --- /dev/null +++ b/reference/random/random.intervalboundary.xml @@ -0,0 +1,75 @@ + + + + + + Random\IntervalBoundary Enum + Random\IntervalBoundary + + +
+ &reftitle.intro; + + 列挙型の Random\IntervalBoundary は、ある区間に含まれる値の集合において、 + その区間の境界値(端の値)を含めるかどうかを指定します。 + +
+ +
+ &reftitle.enumsynopsis; + + + Random\IntervalBoundary + + + ClosedOpen + + 左開区間。下限(下側の境界)は区間に含まれ、上限(上側の境界)は含まれません。 + + + + + ClosedClosed + + 閉区間。下限・上限の両方の境界が区間に含まれます。 + + + + + OpenClosed + + 右開区間。上限(上側の境界)は区間に含まれ、下限(下側の境界)は含まれません。 + + + + + OpenOpen + + 開区間。下限・上限のいずれの境界も区間に含まれません。 + + + + +
+
+
+