This commit is contained in:
MihailRis
2024-03-31 23:05:38 +03:00
parent 48982e3478
commit 8950f4ecd5
9 changed files with 40 additions and 46 deletions
+10 -1
View File
@@ -3,10 +3,19 @@
#include <stdlib.h>
#include <stdint.h>
#include <variant>
/// @brief dynamic integer type (64 bit signed integer)
using integer_t = int64_t;
/// @brief dynamic floating-point type (64 bit floating point)
using number_t = double;
/// @brief dynamic numeric types union (integer and floating-point)
using number_u = std::variant<integer_t, number_t>;
using uint = unsigned int;
// use for bytes arrays
/// @brief use for bytes arrays
using ubyte = uint8_t;
// content indices