libc/stdio/_scanf.c: heed lots of warnings about signed/unsigned chars
[uclibc-ng.git] / libm / w_cabs.c
blobd2a54cd9f499190a05bb6ef20ded237be964b631
1 /*
2 * cabs() wrapper for hypot().
4 * Written by J.T. Conklin, <jtc@wimsey.com>
5 * Placed into the Public Domain, 1994.
6 */
8 #include <complex.h>
9 #include <math.h>
12 double cabs(double _Complex z)
14 return hypot(__real__ z, __imag__ z);
16 libm_hidden_def(cabs)