From 7903ae7711f323697bbc42ad756c8ea0138c70dc Mon Sep 17 00:00:00 2001 From: A404M Date: Tue, 18 Feb 2025 12:22:58 +0330 Subject: add f16 f32 f64 f128 --- src/utils/type.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/utils/type.h (limited to 'src/utils/type.h') diff --git a/src/utils/type.h b/src/utils/type.h new file mode 100644 index 0000000..aad46df --- /dev/null +++ b/src/utils/type.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +typedef int8_t i8; +typedef int16_t i16; +typedef int32_t i32; +typedef int64_t i64; + +typedef uint8_t u8; +typedef uint16_t u16; +typedef uint32_t u32; +typedef uint64_t u64; + +typedef _Float16 f16; +typedef float f32; +typedef double f64; +typedef long double f128; + +void checkTypes(); -- cgit v1.2.3