From 421648d31ce79e3673875e5e3b7932e5e26e66b0 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 8 Oct 2010 10:49:28 +0000 Subject: * libm/math/w_cabs.c: Delete. * libm/math/wf_cabs.c: Delete. * libm/math/Makefile.am (src): Remove w_cabs.c. (fsrc): Remove wf_cabs.c. * libm/math/Makefile.in: Regenerate. --- newlib/libm/math/w_cabs.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 newlib/libm/math/w_cabs.c (limited to 'newlib/libm/math/w_cabs.c') diff --git a/newlib/libm/math/w_cabs.c b/newlib/libm/math/w_cabs.c deleted file mode 100644 index bef76680c..000000000 --- a/newlib/libm/math/w_cabs.c +++ /dev/null @@ -1,20 +0,0 @@ -/* - * cabs() wrapper for hypot(). - * - * Written by J.T. Conklin, - * 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); -} -- cgit v1.2.3