aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/int128/ut/int128_ut_helpers.h
blob: 99a8fa74362fd1b0d5409ee56f938500e4b396b3 (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 
}