aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/mathfp/w_cabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/mathfp/w_cabs.c')
-rw-r--r--newlib/libm/mathfp/w_cabs.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/newlib/libm/mathfp/w_cabs.c b/newlib/libm/mathfp/w_cabs.c
deleted file mode 100644
index bef7668..0000000
--- a/newlib/libm/mathfp/w_cabs.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * cabs() wrapper for hypot().
- *
- * Written by J.T. Conklin, <jtc@wimsey.com>
- * Placed into the Public Domain, 1994.
- */
-
-#include "fdlibm.h"
-
-struct complex {
- double x;
- double y;
-};
-
-double
-cabs(z)
- struct complex z;
-{
- return hypot(z.x, z.y);
-}