diff --git a/mathlib/mathlib.cpp b/mathlib/mathlib.cpp index fe2bc716df..ca34a5569c 100644 --- a/mathlib/mathlib.cpp +++ b/mathlib/mathlib.cpp @@ -72,9 +72,9 @@ float degrees(float radians) int floorf(float input) { - int res = int(input); + int res = int(input); if (res > input) { - res--; + res--; } return res;