Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / lib / libm / complex / cabsf.c
blob9ccd7de1178df68c2f19bc4b636c6cb1f9d652e0
1 /* $NetBSD$ */
3 /*
4 * Written by Matthias Drochner <drochner@NetBSD.org>.
5 * Public domain.
6 */
8 #include "../src/namespace.h"
9 #include <complex.h>
10 #include <math.h>
12 float
13 cabsf(float complex z)
16 return hypotf(__real__ z, __imag__ z);