From 86e1d30b7e69cb430913054511b6954bed4067d9 Mon Sep 17 00:00:00 2001 From: Pavel P Date: Mon, 27 Apr 2020 17:48:10 +0600 Subject: [PATCH] Removed unused round, references math functions without including math.h + fixed compilation error with clang-cl --- conf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/conf.h b/conf.h index 1858ec5..ed540b4 100644 --- a/conf.h +++ b/conf.h @@ -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_)