From 24f0c12468a2d66dcae1a3204d949b195daffb38 Mon Sep 17 00:00:00 2001 From: MZuenni Date: Wed, 1 Mar 2023 12:50:38 +0100 Subject: added digit separator --- other/compiletime.cpp | 2 +- other/stuff.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'other') 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; -- cgit v1.2.3