clang-tidy fix mathlib headers and format

This commit is contained in:
Daniel Agar
2017-04-23 16:21:16 -04:00
parent ac4a706da0
commit e112161a04
14 changed files with 438 additions and 279 deletions
+5
View File
@@ -58,6 +58,7 @@ bool __EXPORT greater_than(float a, float b)
{
if (a > b) {
return true;
} else {
printf("not a > b ->\n\ta: %12.8f\n\tb: %12.8f\n", double(a), double(b));
return false;
@@ -68,6 +69,7 @@ bool __EXPORT less_than(float a, float b)
{
if (a < b) {
return true;
} else {
printf("not a < b ->\n\ta: %12.8f\n\tb: %12.8f\n", double(a), double(b));
return false;
@@ -78,6 +80,7 @@ bool __EXPORT greater_than_or_equal(float a, float b)
{
if (a >= b) {
return true;
} else {
printf("not a >= b ->\n\ta: %12.8f\n\tb: %12.8f\n", double(a), double(b));
return false;
@@ -88,6 +91,7 @@ bool __EXPORT less_than_or_equal(float a, float b)
{
if (a <= b) {
return true;
} else {
printf("not a <= b ->\n\ta: %12.8f\n\tb: %12.8f\n", double(a), double(b));
return false;
@@ -122,6 +126,7 @@ void __EXPORT float2SigExp(
} else {
exp = floor(exp);
}
#endif
sig = num;