22<feed xmlns =" http://www.w3.org/2005/Atom" >
33 <title >cpprefjp - C++日本語リファレンス</title >
44 <link href =" https://cpprefjp.github.io" />
5- <updated >2026-03-19T02:28:40.329572 </updated >
6- <id >e62d2234-3781-478f-8c0b-c7e843079e0d </id >
5+ <updated >2026-03-19T04:19:52.974162 </updated >
6+ <id >0f864022-260b-47c3-b12f-dd72d65672e7 </id >
77
88
9+ <entry >
10+ <title >uniform_real_distribution -- uniform_real_distribution : generate_canonicalベースの実装例を記載 #1239</title >
11+ <link href =" https://cpprefjp.github.io/reference/random/uniform_real_distribution.html" />
12+ <id >d47dab17cd59f6d59cdcc3cb74a6657b35d44fc7:reference/random/uniform_real_distribution.md</id >
13+ <updated >2026-03-19T13:15:46+09:00</updated >
14+
15+ <summary type =" html" >< pre>< code> diff --git a/reference/random/uniform_real_distribution.md b/reference/random/uniform_real_distribution.md
16+ index dce25840e..97f45bc1a 100644
17+ --- a/reference/random/uniform_real_distribution.md
18+ +++ b/reference/random/uniform_real_distribution.md
19+ @@ -22,6 +22,7 @@ namespace std {
20+
21+ ## 備考
22+ - `uniform_real_distribution`の実装は、内部的に[`std::generate_canonical()`](generate_canonical.md)を使用している環境がある
23+ + - `std::generate_canonical& lt;std::numeric_limits& lt;RealType& gt;::digits& gt;(rng) * (b - a) + a`のようにして、指定された範囲`[a, b)`の値を生成する
24+ - C++23まではその`std::generate_canonical()`の仕様上、浮動小数点数の丸めにより指定範囲外の値(上限値`b`)が生成されることがあった
25+ - C++26では`std::generate_canonical()`に棄却法が導入されたことで、この問題は解消された
26+ - [P0952R2 A New Specification for `generate_canonical`](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p0952r2.html)
27+ < /code>< /pre> </summary >
28+
29+ <author >
30+ <name >Akira Takahashi</name >
31+ <email >faithandbrave@gmail.com</email >
32+ </author >
33+ </entry >
34+
935 <entry >
1036 <title >generate_canonical -- generate_canonical : C++26で範囲外の値が生成されなくなった仕様変更に対応 #1239</title >
1137 <link href =" https://cpprefjp.github.io/reference/random/generate_canonical.html" />
@@ -4965,29 +4991,4 @@ index 000000000..132377697
49654991 </author >
49664992 </entry >
49674993
4968- <entry >
4969- <title >operator+ -- meta headerの指定ミスを修正</title >
4970- <link href =" https://cpprefjp.github.io/reference/string_view/basic_string_view/op_plus.html" />
4971- <id >038e14b4a3ce783bcbec09b1797480acd71de759:reference/string_view/basic_string_view/op_plus.md</id >
4972- <updated >2026-03-11T13:51:33+09:00</updated >
4973-
4974- <summary type =" html" >< pre>< code> diff --git a/reference/string_view/basic_string_view/op_plus.md b/reference/string_view/basic_string_view/op_plus.md
4975- index 02ea6db4e..c45086f04 100644
4976- --- a/reference/string_view/basic_string_view/op_plus.md
4977- +++ b/reference/string_view/basic_string_view/op_plus.md
4978- @@ -1,5 +1,5 @@
4979- # operator+
4980- -* string[meta header]
4981- +* string_view[meta header]
4982- * std[meta namespace]
4983- * function template[meta id-type]
4984- * cpp26[meta cpp]
4985- < /code>< /pre> </summary >
4986-
4987- <author >
4988- <name >Akira Takahashi</name >
4989- <email >faithandbrave@gmail.com</email >
4990- </author >
4991- </entry >
4992-
49934994</feed >
0 commit comments