blob: 2dcb053e0319c9abfaa5369120739540da46bcd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* $NetBSD: cargf.c,v 1.1 2007/08/20 16:01:31 drochner Exp $ */
/*
* Written by Matthias Drochner <drochner@NetBSD.org>.
* Public domain.
*/
#include "../src/namespace.h"
#include <complex.h>
#include <math.h>
float
cargf(float complex z)
{
return atan2f(__imag__ z, __real__ z);
}
|