aboutsummaryrefslogtreecommitdiff
path: root/src/lib/mathlib/math/test/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/mathlib/math/test/test.cpp')
-rw-r--r--src/lib/mathlib/math/test/test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/mathlib/math/test/test.cpp b/src/lib/mathlib/math/test/test.cpp
index 2fa2f7e7c..c52771ab8 100644
--- a/src/lib/mathlib/math/test/test.cpp
+++ b/src/lib/mathlib/math/test/test.cpp
@@ -51,7 +51,7 @@ bool __EXPORT equal(float a, float b, float epsilon)
printf("not equal ->\n\ta: %12.8f\n\tb: %12.8f\n", double(a), double(b));
return false;
- } else return true;
+ } else { return true; }
}
void __EXPORT float2SigExp(
@@ -84,10 +84,10 @@ void __EXPORT float2SigExp(
// cheap power since it is integer
if (exp > 0) {
- for (int i = 0; i < abs(exp); i++) sig /= 10;
+ for (int i = 0; i < abs(exp); i++) { sig /= 10; }
} else {
- for (int i = 0; i < abs(exp); i++) sig *= 10;
+ for (int i = 0; i < abs(exp); i++) { sig *= 10; }
}
}