repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
iconv: add euro symbol to GBK as single byte 0x80
[musl.git]
/
src
/
complex
/
clogf.c
blob
0389d4723082b4583db00cd7b7abcb67faec9f98
1
#include
"complex_impl.h"
2
3
// FIXME
4
5
float complex
clogf
(
float complex
z
)
6
{
7
float
r
,
phi
;
8
9
r
=
cabsf
(
z
);
10
phi
=
cargf
(
z
);
11
return
CMPLXF
(
logf
(
r
),
phi
);
12
}