repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
hammer.8: Mention that rebalance is part of cleanup.
[dragonfly.git]
/
lib
/
libm
/
complex
/
cargf.c
blob
4ed821062542a87b18c5deba1b10c23097c2b707
1
/* $NetBSD: cargf.c,v 1.1 2007/08/20 16:01:31 drochner Exp $ */
2
3
/*
4
* Written by Matthias Drochner <drochner@NetBSD.org>.
5
* Public domain.
6
*/
7
8
9
#include <complex.h>
10
#include <math.h>
11
12
float
13
cargf
(
float complex
z
)
14
{
15
16
return
atan2f
(
cimag
(
z
),
creal
(
z
));
17
}