diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-08 08:57:37 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-08 08:57:37 +0330 |
commit | 46d0c9025eb000670dd6a99f0e74fc928269a3c3 (patch) | |
tree | 52ce9887eef9253a68054ee384dac828215566f0 /src | |
parent | 65f7f06d010e705d70f47db48b371f81d09914ea (diff) |
determine if f16 is supported at comptile time
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/type.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/type.h b/src/utils/type.h index 771837e..ed0dd6f 100644 --- a/src/utils/type.h +++ b/src/utils/type.h @@ -2,7 +2,9 @@ #include <stdint.h> -// #define FLOAT_16_SUPPORT +#ifdef __FLT16_MIN__ +#define FLOAT_16_SUPPORT +#endif typedef int8_t i8; typedef int16_t i16; |