Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libm / complex / cabsf.c
blob635e23e7f06132933350105d6b85837b9a025ce3
1 /* $NetBSD: cabsf.c,v 1.1 2007/08/20 16:01:30 drochner Exp $ */
3 /*
4 * Written by Matthias Drochner <drochner@NetBSD.org>.
5 * Public domain.
7 * imported and modified include for newlib 2010/10/03
8 * Marco Atzeri <marco_atzeri@yahoo.it>
9 */
11 #include <complex.h>
12 #include <math.h>
14 float
15 cabsf(float complex z)
18 return hypotf( crealf(z), cimagf(z) );