2
2
<feed xmlns =" http://www.w3.org/2005/Atom" >
3
3
<title >cpprefjp - C++日本語リファレンス</title >
4
4
<link href =" https://cpprefjp.github.io" />
5
- <updated >2024-10-17T12:33:50.371450 </updated >
6
- <id >35543879-2d9c-4ff9-80c9-55dac741228e </id >
5
+ <updated >2024-10-17T12:48:32.891633 </updated >
6
+ <id >776ae711-1d1e-4fb4-b568-321e0ba6661f </id >
7
7
8
8
9
+ <entry >
10
+ <title >leap_second -- chrono/leap_second: 例示コード修正(GCC13.2)</title >
11
+ <link href =" https://cpprefjp.github.io/reference/chrono/leap_second.html" />
12
+ <id >022d8d832cf0405068cbd032db0fe83d30b0a3f3:reference/chrono/leap_second.md</id >
13
+ <updated >2024-10-17T21:45:03+09:00</updated >
14
+
15
+ <summary type =" html" >< pre>< code> diff --git a/reference/chrono/leap_second.md b/reference/chrono/leap_second.md
16
+ index 7988c7420..9f3df9e4b 100644
17
+ --- a/reference/chrono/leap_second.md
18
+ +++ b/reference/chrono/leap_second.md
19
+ @@ -67,7 +67,7 @@ int main()
20
+ {
21
+ // 2018年3月17日までにうるう秒が挿入された日を列挙する
22
+ for (const chrono::leap_second& amp; date : chrono::get_tzdb().leap_seconds) {
23
+ - if (date & lt;= 2018y/3/17)
24
+ + if (date.date() & lt;= chrono::sys_days{2018y/3/17})
25
+ std::cout & lt;& lt; date.date() & lt;& lt; & #34;: & #34; & lt;& lt; date.value() & lt;& lt; std::endl;
26
+ }
27
+ }
28
+ @@ -114,7 +114,7 @@ int main()
29
+
30
+ ### 処理系
31
+ - [Clang](/implementation.md#clang): 9.0 [mark noimpl]
32
+ -- [GCC](/implementation.md#gcc): 9.2 [mark noimpl]
33
+ +- [GCC](/implementation.md#gcc): 9.2 [mark noimpl], 13.2 [mark verified]
34
+ - [Visual C++](/implementation.md#visual_cpp): 2019 Update 3 [mark noimpl]
35
+
36
+
37
+ < /code>< /pre> </summary >
38
+
39
+ <author >
40
+ <name >yoh</name >
41
+ <email >kawasaki.liamg@gmail.com</email >
42
+ </author >
43
+ </entry >
44
+
9
45
<entry >
10
46
<title >get_leap_second_info -- chrono: leap_second_info例示コード改定(GCC13.2)</title >
11
47
<link href =" https://cpprefjp.github.io/reference/chrono/get_leap_second_info.html" />
@@ -236,33 +272,4 @@ index 76f189b9b..6ab8cac67 100644
236
272
</author >
237
273
</entry >
238
274
239
- <entry >
240
- <title >knuth_b -- knuth_b : 書籍での紹介を「考案」→「述べられている」に修正し、.NETの実装は別アルゴリズムであるため言及を削除 #1355</title >
241
- <link href =" https://cpprefjp.github.io/reference/random/knuth_b.html" />
242
- <id >7a4c6c55911bbf152021f6a6bcfdd4547179572f:reference/random/knuth_b.md</id >
243
- <updated >2024-10-16T12:43:33+09:00</updated >
244
-
245
- <summary type =" html" >< pre>< code> diff --git a/reference/random/knuth_b.md b/reference/random/knuth_b.md
246
- index 327897c3f..1c6d6ea38 100644
247
- --- a/reference/random/knuth_b.md
248
- +++ b/reference/random/knuth_b.md
249
- @@ -17,9 +17,7 @@ namespace std {
250
-
251
- `knuth_b`では、[`minstd_rand0`](minstd_rand0.md)によって生成された乱数を`256`個バッファリングしておき、順番を入れ替えて値を選択していく。これにより、線形合同法([`minstd_rand0`](minstd_rand0.md) or [`minstd_rand`](minstd_rand.md))を直接使用するよりも出力間の相関関係が小さくなり、乱雑さが増加する。
252
-
253
- -Donald Knuth氏の著書『The Art of Computer Programming, Second Edition, Volume 2, Seminumerical Algorithms』で考案された、リオーダーアルゴリズムBがそれだ。
254
- -
255
- -このアルゴリズムは、Microsoft .NET Frameworkの[`System.Random`](https://docs.microsoft.com/ja-jp/dotnet/api/system.random)クラスにも、実装として使用されている。
256
- +Donald Knuth氏の著書『The Art of Computer Programming, Second Edition, Volume 2, Seminumerical Algorithms』で述べられている、リオーダーアルゴリズムBがそれだ。
257
-
258
-
259
- ## 要件
260
- < /code>< /pre> </summary >
261
-
262
- <author >
263
- <name >Akira Takahashi</name >
264
- <email >faithandbrave@gmail.com</email >
265
- </author >
266
- </entry >
267
-
268
275
</feed >
0 commit comments