aboutsummaryrefslogtreecommitdiffstats
path: root/math/fabsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/fabsl.c')
-rw-r--r--math/fabsl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/fabsl.c b/math/fabsl.c
new file mode 100644
index 0000000..5390e69
--- /dev/null
+++ b/math/fabsl.c
@@ -0,0 +1,3 @@
+#include "maths.h"
+
+long double fabsl(long double n) { return n < 0 ? -n : n; }