Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libm / complex / carg.c
blob03d6ad9f49f2a2837bd83808b5a31c564f57a2ba
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 double
13 carg(double complex z)
16 return atan2(__imag__ z, __real__ z);