diff options
| author | MZuenni <michi.zuendorf@gmail.com> | 2023-03-01 12:50:38 +0100 |
|---|---|---|
| committer | MZuenni <michi.zuendorf@gmail.com> | 2023-03-01 12:50:38 +0100 |
| commit | 24f0c12468a2d66dcae1a3204d949b195daffb38 (patch) | |
| tree | e4692b055f15b596a9dab1c25af272a70f16c93a /other | |
| parent | 12afe719ce268bb10aa93a910079a44eb08999b8 (diff) | |
added digit separator
Diffstat (limited to 'other')
| -rw-r--r-- | other/compiletime.cpp | 2 | ||||
| -rw-r--r-- | other/stuff.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/other/compiletime.cpp b/other/compiletime.cpp index 19824e6..b71f83b 100644 --- a/other/compiletime.cpp +++ b/other/compiletime.cpp @@ -4,4 +4,4 @@ struct Table { constexpr Table() : data {} { for (int i = 0; i < N; i++) data[i] = i; }}; -constexpr Table<100000> precalculated; +constexpr Table<100'000> precalculated; diff --git a/other/stuff.cpp b/other/stuff.cpp index e3bbed6..36e60ab 100644 --- a/other/stuff.cpp +++ b/other/stuff.cpp @@ -24,6 +24,6 @@ __int128, __float128 std::decimal::decimal128 // 1e18 < INF < Max_Value / 2 -constexpr long long INF = 0x3FFF_FFFF_FFFF_FFFFll; +constexpr long long INF = 0x3FFF'FFFF'FFFF'FFFFll; // 1e9 < INF < Max_Value / 2 -constexpr int INF = 0x3FFF_FFFF; +constexpr int INF = 0x3FFF'FFFF; |
