aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/int128/ut/int128_ut_helpers.h
blob: b7778c3f3289d21373b37b410c7a95447e880f85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <library/cpp/int128/int128.h>

#include <array>

namespace NInt128Private {
    std::array<ui8, 16> GetAsArray(const ui128 value);
    std::array<ui8, 16> GetAsArray(const i128 value);

#if defined(Y_HAVE_INT128)
    std::array<ui8, 16> GetAsArray(const unsigned __int128 value);
    std::array<ui8, 16> GetAsArray(const signed __int128 value);
#endif
}