From 856a1e159987aea529e75861d7ac08de5e5ac6b5ff6a94085e8ed02811e10d6b Mon Sep 17 00:00:00 2001 From: CupWater Date: Sun, 16 Aug 2026 14:41:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0bstlint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/bstl.hpp | 2 ++ include/bstlint.hpp | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 include/bstlint.hpp diff --git a/include/bstl.hpp b/include/bstl.hpp index cf3aa94..14d1cd3 100644 --- a/include/bstl.hpp +++ b/include/bstl.hpp @@ -1,4 +1,6 @@ #ifndef BETTERSTL_BSTL_HPP #define BETTERSTL_BSTL_HPP +#include + #endif //BETTERSTL_BSTL_HPP diff --git a/include/bstlint.hpp b/include/bstlint.hpp new file mode 100644 index 0000000..d2a29e0 --- /dev/null +++ b/include/bstlint.hpp @@ -0,0 +1,19 @@ +#ifndef BETTERSTL_BSTLINT_HPP +#define BETTERSTL_BSTLINT_HPP + +#include +#include <> + +typedef std::int8_t i8; +typedef std::int16_t i16; +typedef std::int32_t i32; +typedef std::int64_t i64; +typedef std::uint8_t u8; +typedef std::uint16_t u16; +typedef std::uint32_t u32; +typedef std::uint64_t u64; +typedef float f16; +typedef double f32; +typedef long double f64; + +#endif //BETTERSTL_BSTLINT_HPP From e0c47fbd8a13636eb220032c714d5a06544d4dc22f910936af65b25b82028b7f Mon Sep 17 00:00:00 2001 From: CupWater Date: Sun, 16 Aug 2026 14:42:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bstlint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/bstlint.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/bstlint.hpp b/include/bstlint.hpp index d2a29e0..57cc816 100644 --- a/include/bstlint.hpp +++ b/include/bstlint.hpp @@ -12,8 +12,8 @@ typedef std::uint8_t u8; typedef std::uint16_t u16; typedef std::uint32_t u32; typedef std::uint64_t u64; -typedef float f16; -typedef double f32; -typedef long double f64; +typedef float f32; +typedef double f64; +typedef long double f128; #endif //BETTERSTL_BSTLINT_HPP