Sen API
Sen Libraries
Toggle main menu visibility
Loading...
Searching...
No Matches
numbers.h
Go to the documentation of this file.
1
// === numbers.h =======================================================================================================
2
// Sen Infrastructure
3
// Released under the Apache License v2.0 (SPDX-License-Identifier Apache-2.0).
4
// See the LICENSE.txt file for more information.
5
// © Airbus SAS, Airbus Helicopters, and Airbus Defence and Space SAU/GmbH/SAS.
6
// =====================================================================================================================
7
8
#ifndef SEN_CORE_BASE_NUMBERS_H
9
#define SEN_CORE_BASE_NUMBERS_H
10
11
#include <cstdint>
12
15
16
using
float32_t
= float;
// NOLINT
17
using
float64_t
= double;
// NOLINT
18
using
uchar_t
=
unsigned
char;
// NOLINT
19
20
using
i8
= int8_t;
// NOLINT
21
using
u8
= uint8_t;
// NOLINT
22
using
i16
= int16_t;
// NOLINT
23
using
u16
= uint16_t;
// NOLINT
24
using
i32
= int32_t;
// NOLINT
25
using
u32
= uint32_t;
// NOLINT
26
using
i64
= int64_t;
// NOLINT
27
using
u64
= uint64_t;
// NOLINT
28
using
f32
=
float32_t
;
// NOLINT
29
using
f64
=
float64_t
;
// NOLINT
30
31
static_assert
(
sizeof
(
float32_t
) ==
sizeof
(int32_t));
32
static_assert
(
sizeof
(
float64_t
) ==
sizeof
(int64_t));
33
35
36
#endif
// SEN_CORE_BASE_NUMBERS_H
i8
int8_t i8
Definition
numbers.h:20
u64
uint64_t u64
Definition
numbers.h:27
float32_t
float float32_t
Definition
numbers.h:16
uchar_t
unsigned char uchar_t
Definition
numbers.h:18
f32
float32_t f32
Definition
numbers.h:28
float64_t
double float64_t
Definition
numbers.h:17
u16
uint16_t u16
Definition
numbers.h:23
u32
uint32_t u32
Definition
numbers.h:25
i64
int64_t i64
Definition
numbers.h:26
i16
int16_t i16
Definition
numbers.h:22
u8
uint8_t u8
Definition
numbers.h:21
f64
float64_t f64
Definition
numbers.h:29
i32
int32_t i32
Definition
numbers.h:24
libs
core
include
sen
core
base
numbers.h
Generated by
1.17.0