|
commons 0.1.5
Header-only C++23 library of common/shared types for the C++ libraries
|
Fixed-width numeric aliases shared across the C++ libraries. More...
#include <complex>#include <cstddef>#include <cstdint>

Go to the source code of this file.
Typedefs | |
| using | comms::i8 = std::int8_t |
| Signed 8-bit integer. | |
| using | comms::i16 = std::int16_t |
| Signed 16-bit integer. | |
| using | comms::i32 = std::int32_t |
| Signed 32-bit integer. | |
| using | comms::i64 = std::int64_t |
| Signed 64-bit integer. | |
| using | comms::u8 = std::uint8_t |
| Unsigned 8-bit integer. | |
| using | comms::u16 = std::uint16_t |
| Unsigned 16-bit integer. | |
| using | comms::u32 = std::uint32_t |
| Unsigned 32-bit integer. | |
| using | comms::u64 = std::uint64_t |
| Unsigned 64-bit integer. | |
| using | comms::f32 = float |
| 32-bit floating point. | |
| using | comms::f64 = double |
| 64-bit floating point. | |
| using | comms::cs8 = std::complex< i8 > |
| Complex with signed 8-bit components. | |
| using | comms::cs16 = std::complex< i16 > |
| Complex with signed 16-bit components. | |
| using | comms::cs32 = std::complex< i32 > |
| Complex with signed 32-bit components. | |
| using | comms::cs64 = std::complex< i64 > |
| Complex with signed 64-bit components. | |
| using | comms::cu8 = std::complex< u8 > |
| Complex with unsigned 8-bit components. | |
| using | comms::cu16 = std::complex< u16 > |
| Complex with unsigned 16-bit components. | |
| using | comms::cu32 = std::complex< u32 > |
| Complex with unsigned 32-bit components. | |
| using | comms::cu64 = std::complex< u64 > |
| Complex with unsigned 64-bit components. | |
| using | comms::cf32 = std::complex< f32 > |
| Complex with 32-bit floating-point components. | |
| using | comms::cf64 = std::complex< f64 > |
| Complex with 64-bit floating-point components. | |
| using | comms::usize = std::size_t |
Unsigned size type (std::size_t). | |
| using | comms::isize = std::ptrdiff_t |
Signed size/difference type (std::ptrdiff_t). | |
Fixed-width numeric aliases shared across the C++ libraries.
Lowercase, Rust-flavoured spellings (i32, u64, f64, usize, …) for the standard fixed-width integer and floating-point types. The 128-bit aliases are only defined when the compiler provides 128-bit integers; the COMMONS_HAS_INT128 feature macro signals their availability.