From 139264d58a6cc1203d41511ff25c68c2e59f0b7d Mon Sep 17 00:00:00 2001 From: Saki Takamachi Date: Sun, 30 Mar 2025 22:11:03 +0900 Subject: [PATCH] =?UTF-8?q?ext/random=E3=81=AE=E6=9C=AA=E7=BF=BB=E8=A8=B3?= =?UTF-8?q?=E9=83=A8=E5=88=86=E3=82=92=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reference/random/book.xml | 3 +- reference/random/functions/lcg-value.xml | 3 +- reference/random/random.intervalboundary.xml | 75 ++++++++++++++++++++ 3 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 reference/random/random.intervalboundary.xml 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 + + 開区間。下限・上限のいずれの境界も区間に含まれません。 + + + + +
+
+
+