From bb061a42c5d7fdfc948b99bd6565e5f76dc94ccb Mon Sep 17 00:00:00 2001 From: x Date: Wed, 7 Jun 2023 15:13:11 +0200 Subject: [PATCH] TurboPFor: Bitutil --- lib/bitutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bitutil.c b/lib/bitutil.c index 6b48cd0..dac82a1 100644 --- a/lib/bitutil.c +++ b/lib/bitutil.c @@ -878,7 +878,7 @@ void bitzdec(unsigned char *in, unsigned n, unsigned esize) { } //----------- Lossy floating point conversion: pad the trailing mantissa bits with zero bits according to the relative error e (ex. 0.00001) ---------- - #if defined(FLT16_MAX) + #if defined(FLT16_BUILTIN) // https://clang.llvm.org/docs/LanguageExtensions.html#half-precision-floating-point _Float16 _fprazor16(_Float16 d, float e, int lg2e) { uint16_t du = ctou16(&d), sign, u;