make sure we have a large enough buffer to hold the output of the print statement
[AROS.git] / compiler / stdc / math / w_cabsf.c
blob0b4c8b4485a1d83a234204048cc22e18aaa86f39
1 /*
2 * cabsf() wrapper for hypotf().
4 * Written by J.T. Conklin, <jtc@wimsey.com>
5 * Placed into the Public Domain, 1994.
6 */
8 #ifndef lint
9 static const char rcsid[] =
10 "$FreeBSD: src/lib/msun/src/w_cabsf.c,v 1.3 2001/06/13 15:16:30 ru Exp $";
11 #endif /* not lint */
13 #include <complex.h>
14 #include "math.h"
15 #include "math_private.h"
17 float
18 cabsf(z)
19 float complex z;
22 return hypotf(crealf(z), cimagf(z));