Removed unused round, references math functions without including math.h

+ fixed compilation error with clang-cl
This commit is contained in:
Pavel P
2020-04-27 17:48:10 +06:00
parent 43fb0b2aba
commit 86e1d30b7e

1
conf.h
View File

@ -131,7 +131,6 @@ static inline int clz64(uint64_t x) { unsigned long z; _BitScanReverse64(&z, x
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define strtoull _strtoui64
static inline double round(double num) { return (num > 0.0) ? floor(num + 0.5) : ceil(num - 0.5); }
#endif
#define bsr8(_x_) bsr32(_x_)