HAMMER VFS - Major retooling of the refcount mechanics, and fix a deadlock
[dragonfly.git] / lib / libm / complex / cabsf.c
blob0baf5285da56306b531332adfaf8bf1f26bb798a
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.
6 */
8 #include <complex.h>
9 #include <math.h>
10 #include "../src/math_private.h"
12 float
13 cabsf(float complex z)
16 return hypotf(crealf(z), cimagf(z));