From 492b76c787b088866e1bef159d69b540c9322e5c Mon Sep 17 00:00:00 2001 From: x Date: Wed, 7 Jun 2023 13:33:03 +0200 Subject: [PATCH] TurboPFor: Integer Compression c/c++ header --- include/ic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ic.h b/include/ic.h index 7283629..531c0e7 100644 --- a/include/ic.h +++ b/include/ic.h @@ -538,7 +538,8 @@ void bitzdec(unsigned char *in, unsigned n, unsigned esize); #define INT2FLOAT(ival, scalse, bias) ((ival - bias) / scale) //------- Lossy floating point transform: pad the trailing mantissa bits with zeros according to the error e (ex. e=0.00001) - #ifdef USE_FLOAT16 +// must include float.h to use _Float16 (see icapp.c) + #ifdef FLT16_MAX _Float16 _fprazor16(_Float16 d, float e, int lg2e); void fprazor16(_Float16 *in, unsigned n, _Float16 *out, float e); #endif