1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2023-2024 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

// This file provides an interface towards bigint implementations.
// Currently, it uses the ones from boost::multiprecision, but if we ever want
// to swap it out, or implement our own, we can seamlessly do it in this header.

#ifndef UTIL_BIGINTS_H
#define UTIL_BIGINTS_H

#include <boost/multiprecision/cpp_int.hpp><--- Include file:  not found. Please note: Cppcheck does not need standard library headers to get proper results.

namespace isc {
namespace util {

using int128_t = boost::multiprecision::checked_int128_t;

using uint128_t = boost::multiprecision::checked_uint128_t;

}  // namespace util
}  // namespace isc

#endif  // UTIL_BIGINTS_H