summaryrefslogtreecommitdiff
path: root/src/rmd_math.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-10-08 01:29:12 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-10-08 01:29:12 -0700
commita031634bd64c7f30c4ace5ca06a5a47600b42f47 (patch)
tree919e13ed1ba2e6443fe952288085576322748405 /src/rmd_math.c
parentbd53002a2bf51d48992613601719d180fed09975 (diff)
*: more cosmetic formatting cleanups
Making things a bit more consistent
Diffstat (limited to 'src/rmd_math.c')
-rw-r--r--src/rmd_math.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rmd_math.c b/src/rmd_math.c
index 1cf3d29..3527490 100644
--- a/src/rmd_math.c
+++ b/src/rmd_math.c
@@ -28,6 +28,7 @@
#include <math.h>
-double rmdRoundf(double val) {
+double rmdRoundf(double val)
+{
return val < 0.0 ? ceilf(val - .5) : floorf(val + 0.5);
}
© All Rights Reserved