diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-18 12:22:58 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-02-18 12:22:58 +0330 |
commit | 7903ae7711f323697bbc42ad756c8ea0138c70dc (patch) | |
tree | 117f2b35a89c0c48b2902dbeccf1f5d63f29294e /src/utils/type.h | |
parent | cb6eaf13c3b3b58779a18255177589d8d5fbf85b (diff) |
add f16 f32 f64 f128
Diffstat (limited to 'src/utils/type.h')
-rw-r--r-- | src/utils/type.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <stdint.h> + +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(); |