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 @@ -103,14 +103,6 @@ static inline int IROUND(float f) return (int) ((f >= 0.0F) ? (f + 0.5F) : (f - 0.5F)); } -/** - * 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. */