remove erroneous spaces
[AROS.git] / compiler / stdc / math / w_cabsl.c
blob4f9847f14315e178418f0fff80b61328d54154f8
1 /*
2 * cabs() wrapper for hypot().
4 * Written by J.T. Conklin, <jtc@wimsey.com>
5 * Placed into the Public Domain, 1994.
7 * Modified by Steven G. Kargl for the long double type.
8 */
10 #ifndef lint
11 static const char rcsid[] =
12 "$FreeBSD: src/lib/msun/src/w_cabsl.c,v 1.1 2008/03/30 20:02:03 das Exp $";
13 #endif /* not lint */
15 #include <complex.h>
16 #include "math.h"
18 long double
19 cabsl(long double complex z)
21 return hypotl(creall(z), cimagl(z));