mathlib: fix floorf indentation

This commit is contained in:
Matthias Grob 2019-05-24 08:40:18 +01:00 committed by Lorenz Meier
parent 710c52980e
commit 90b4c7c065
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ float degrees(float radians)
int floorf(float input) int floorf(float input)
{ {
int res = int(input); int res = int(input);
if (res > input) { if (res > input) {
res--; res--;
} }
return res; return res;