summaryrefslogtreecommitdiff
path: root/libgcompat/math.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-09-11 22:41:30 -0500
committerSamuel Holland <samuel@sholland.org>2018-09-11 22:50:44 -0500
commit9bc7c737b311fcbba71af11884b7f9111dba57ba (patch)
tree6ad80501db199c916e8fc2ed5648bf694a257675 /libgcompat/math.c
parentd8e667a638401df1bf881b16fcda6315f3fa3eb1 (diff)
downloadgcompat-9bc7c737b311fcbba71af11884b7f9111dba57ba.tar.gz
gcompat-9bc7c737b311fcbba71af11884b7f9111dba57ba.tar.bz2
gcompat-9bc7c737b311fcbba71af11884b7f9111dba57ba.tar.xz
gcompat-9bc7c737b311fcbba71af11884b7f9111dba57ba.zip
libgcompat: Fix formatting inconsistencies (clang-format)
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'libgcompat/math.c')
-rw-r--r--libgcompat/math.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/libgcompat/math.c b/libgcompat/math.c
index 83abbf4..793ff1a 100644
--- a/libgcompat/math.c
+++ b/libgcompat/math.c
@@ -1,8 +1,8 @@
-#define _GNU_SOURCE /* Extra maths functions */
-#include <math.h> /* Literally everything */
+#define _GNU_SOURCE /* Extra maths functions */
+#include <math.h> /* Literally everything */
-#include "alias.h" /* weak_alias */
-#include "internal.h" /* GCOMPAT__assert_with_reason */
+#include "alias.h" /* weak_alias */
+#include "internal.h" /* GCOMPAT__assert_with_reason */
/**
* Multiplies the first argument x by FLT_RADIX (probably 2) to the power of y.
@@ -14,7 +14,7 @@ long double scalbl(long double x, long double y)
* 1) Good Enough(TM)
* 2) scalbl is deprecated anyway
* */
- return scalblnl(x, (long int)y);
+ return scalblnl(x, (long int) y);
}
/*
@@ -144,7 +144,6 @@ int __isnan(double arg)
}
weak_alias(__isnan, isnan);
-
/**
* Test for a NaN.
*
@@ -290,7 +289,6 @@ long double __asinl_finite(long double x)
return res;
}
-
/**
* Returns the principal value of the arc tangent of x/y, expressed in radians.
*/
@@ -363,7 +361,6 @@ long double __atanhl_finite(long double x)
return res;
}
-
/**
* Returns the hyperbolic cosine of x.
*/