mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
zig.h: fix f16 has builtin check
This commit is contained in:
parent
4451786c66
commit
ee2fb5b2ab
@ -1556,7 +1556,7 @@ typedef double zig_f16;
|
||||
#define zig_bitSizeOf_c_longdouble 16
|
||||
typedef long double zig_f16;
|
||||
#define zig_as_f16(fp, repr) fp##l
|
||||
#elif FLT16_MANT_DIG == 11 && zig_has_builtin(__builtin_inff16)
|
||||
#elif FLT16_MANT_DIG == 11 && zig_has_builtin(inff16)
|
||||
typedef _Float16 zig_f16;
|
||||
#define zig_as_f16(fp, repr) fp##f16
|
||||
#elif defined(__SIZEOF_FP16__)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user