int128_ut_helpers.h 377 B

123456789101112131415
  1. #pragma once
  2. #include <library/cpp/int128/int128.h>
  3. #include <array>
  4. namespace NInt128Private {
  5. std::array<ui8, 16> GetAsArray(const ui128 value);
  6. std::array<ui8, 16> GetAsArray(const i128 value);
  7. #if defined(Y_HAVE_INT128)
  8. std::array<ui8, 16> GetAsArray(const unsigned __int128 value);
  9. std::array<ui8, 16> GetAsArray(const signed __int128 value);
  10. #endif
  11. }