summaryrefslogtreecommitdiff
path: root/nuttx/libc/math/lib_round.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/math/lib_round.c')
-rw-r--r--nuttx/libc/math/lib_round.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libc/math/lib_round.c b/nuttx/libc/math/lib_round.c
index 6191cee5b..1cf8ba43b 100644
--- a/nuttx/libc/math/lib_round.c
+++ b/nuttx/libc/math/lib_round.c
@@ -29,7 +29,7 @@ double round(double x)
{
x -= 1.0;
}
-
+
if (x >= 0.0 && f >= 0.5)
{
x += 1.0;