cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
asserts.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_VALUE_ASSERTS_H
4#define pRC_CORE_VALUE_ASSERTS_H
5
8
9namespace pRC
10{
11 static_assert(sizeof(UnsignedInteger<8>) == 1);
12 static_assert(sizeof(UnsignedInteger<16>) == 2);
13 static_assert(sizeof(UnsignedInteger<32>) == 4);
14 static_assert(sizeof(UnsignedInteger<64>) == 8);
15
16 static_assert(sizeof(SignedInteger<8>) == 1);
17 static_assert(sizeof(SignedInteger<16>) == 2);
18 static_assert(sizeof(SignedInteger<32>) == 4);
19 static_assert(sizeof(SignedInteger<64>) == 8);
20
21 static_assert(sizeof(Float<16>) == 2);
22 static_assert(sizeof(Float<32>) == 4);
23 static_assert(sizeof(Float<64>) == 8);
24}
25#endif // pRC_CORE_VALUE_ASSERTS_H
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402