tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
int_t.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CSTDINT_INT_T_HPP
4#define TETL_CSTDINT_INT_T_HPP
5
6#include <etl/_config/all.hpp>
7
8namespace etl {
9
12
15
18
21
22} // namespace etl
23
24static_assert(sizeof(etl::int8_t) == 1, "int8_t size should be 1");
25static_assert(sizeof(etl::int16_t) == 2, "int16_t size should be 2");
26static_assert(sizeof(etl::int32_t) == 4, "int32_t size should be 4");
27static_assert(sizeof(etl::int64_t) == 8, "int64_t size should be 8");
28
29#endif // TETL_CSTDINT_INT_T_HPP
#define TETL_BUILTIN_INT64
Definition builtin_types.hpp:26
#define TETL_BUILTIN_INT16
Definition builtin_types.hpp:24
#define TETL_BUILTIN_INT8
Definition builtin_types.hpp:23
#define TETL_BUILTIN_INT32
Definition builtin_types.hpp:25
Definition adjacent_find.hpp:8
TETL_BUILTIN_INT32 int32_t
Signed integer type with width of exactly 32 bits.
Definition int_t.hpp:17
TETL_BUILTIN_INT64 int64_t
Signed integer type with width of exactly 64 bits.
Definition int_t.hpp:20
TETL_BUILTIN_INT8 int8_t
Signed integer type with width of exactly 8 bits.
Definition int_t.hpp:11
TETL_BUILTIN_INT16 int16_t
Signed integer type with width of exactly 16 bits.
Definition int_t.hpp:14