Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
uintx.cpp
Go to the documentation of this file.
2#include "uintx_impl.hpp"
3
4namespace bb::numeric {
5
6template class uintx<numeric::uint256_t>;
7template class uintx<uint512_t>;
8
9// NOTE: this instantiation is only used to maintain a 1024 barrett reduction test.
10// The simpler route would have been to delete that test as this modulus is otherwise not used, but this was more
11// conservative.
12constexpr uint512_t TEST_MODULUS(uint256_t{ "0x04689e957a1242c84a50189c6d96cadca602072d09eac1013b5458a2275d69b1" },
13 uint256_t{ "0x0925c4b8763cbf9c599a6f7c0348d21cb00b85511637560626edfa5c34c6b38d" });
14
16
17} // namespace bb::numeric
constexpr uint512_t TEST_MODULUS(uint256_t{ "0x04689e957a1242c84a50189c6d96cadca602072d09eac1013b5458a2275d69b1" }, uint256_t{ "0x0925c4b8763cbf9c599a6f7c0348d21cb00b85511637560626edfa5c34c6b38d" })
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13