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