digit_separator.h 590 B

12345678910111213141516171819
  1. #pragma once
  2. enum class ELiterals {
  3. Char = sizeof(u8'.'),
  4. Int = 123'456'789,
  5. Float1 = int(456'789.123'456),
  6. Float2 = int(1'2e0'1),
  7. Float3 = int(0x1'2p4),
  8. };
  9. enum class ETimePrecision : unsigned long long {
  10. MicroSeconds = 1 /* "us" */,
  11. MilliSeconds = 1'000 /* "ms" */,
  12. Seconds = 1'000'000 /* "s" */,
  13. Minutes = 60'000'000 /* "m" */,
  14. Hours = 3'600'000'000 /* "h" */,
  15. Days = 86'400'000'000 /* "d" */,
  16. Weeks = 604'800'000'000 /* "w" */,
  17. };