This commit is contained in:
nub31
2025-12-31 01:38:06 +01:00
parent 8a81bb0c87
commit c364f7d019

View File

@@ -66,6 +66,6 @@ typedef signed long long i64;
#define U64_C(x) x##ULL
#define KiB(count) (U64_C(count) * U64_C(1024))
#define MiB(count) (U64_C(count) * U64_C(1024) * U64_C(1024))
#define GiB(count) (U64_C(count) * U64_C(1024) * U64_C(1024) * U64_C(1024))
#define TiB(count) (U64_C(count) * U64_C(1024) * U64_C(1024) * U64_C(1024) * U64_C(1024))
#define MiB(count) (U64_C(count) * KiB(1024))
#define GiB(count) (U64_C(count) * MiB(1024))
#define TiB(count) (U64_C(count) * GiB(1024))