From 2725166ca4e69511ad6468ceadd38bfbbcceda75 Mon Sep 17 00:00:00 2001 From: SoraKatadzuma Date: Fri, 4 Sep 2026 06:45:14 -0500 Subject: [PATCH] Missing float and double typedefs --- include/malunal/type.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/malunal/type.h b/include/malunal/type.h index af880b3..734ee70 100644 --- a/include/malunal/type.h +++ b/include/malunal/type.h @@ -113,6 +113,22 @@ typedef char* malunal_str_t; */ typedef const char* malunal_cstr_t; +/** + * @brief Our own definition of a single precision floting point number. + * @details This is provided, like all of the types in this header, to meet + * modern standards and to exist specifically to match how we name + * many of our other types. + */ +typedef float malunal_single_t; + +/** + * @brief Our own definition of a double precision floting point number. + * @details This is provided, like all of the types in this header, to meet + * modern standards and to exist specifically to match how we name + * many of our other types. + */ +typedef double malunal_double_t; + /** * @brief Our own definition of an 8-bit signed integer. * @details This is provided, like all of the types in this header, to meet