summaryrefslogtreecommitdiffstats
path: root/lib/libm/src/w_cabsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/src/w_cabsf.c')
-rw-r--r--lib/libm/src/w_cabsf.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/libm/src/w_cabsf.c b/lib/libm/src/w_cabsf.c
deleted file mode 100644
index d98d0422f28..00000000000
--- a/lib/libm/src/w_cabsf.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * cabsf() wrapper for hypotf().
- *
- * Written by J.T. Conklin, <jtc@wimsey.com>
- * Placed into the Public Domain, 1994.
- */
-
-#include "math.h"
-#include "math_private.h"
-
-struct complex {
- float x;
- float y;
-};
-
-float
-cabsf(struct complex z)
-{
- return hypotf(z.x, z.y);
-}