cMHN
1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
pRC
prc
core
value
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
6
#include <
prc/core/value/float.hpp
>
7
#include <
prc/core/value/integer.hpp
>
8
9
namespace
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
float.hpp
integer.hpp
pRC
Definition
cholesky.hpp:18
pRC::makeConstantSequence
static constexpr auto makeConstantSequence()
Definition
sequence.hpp:402
Generated by
1.10.0