repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git]
/
lib
/
libm
/
complex
/
cargf.c
blob
c5cc80df093c53c32c4d4dcb4305cca709e619e9
1
/* $NetBSD$ */
2
3
/*
4
* Written by Matthias Drochner <drochner@NetBSD.org>.
5
* Public domain.
6
*/
7
8
#include
"../src/namespace.h"
9
#include <complex.h>
10
#include <math.h>
11
12
float
13
cargf
(
float complex
z
)
14
{
15
16
return
atan2f
(
__imag__ z
,
__real__ z
);
17
}