diff options
-rw-r--r-- | src/util/imports.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util/imports.h b/src/util/imports.h index f7563dcb405..3a73275ffd6 100644 --- a/src/util/imports.h +++ b/src/util/imports.h @@ -104,14 +104,6 @@ static inline int IROUND(float f) } /** - * Convert double to int by rounding to nearest integer, away from zero. - */ -static inline int IROUNDD(double d) -{ - return (int) ((d >= 0.0) ? (d + 0.5) : (d - 0.5)); -} - -/** * Convert float to int64 by rounding to nearest integer. */ static inline int64_t IROUND64(float f) |