projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extend cmath (some of the functions are dummy)
[libm]
/
src
/
cmath
/
clog.c
diff --git
a/src/cmath/clog.c
b/src/cmath/clog.c
index
4f8a428
..
6f10a11
100644
(file)
--- a/
src/cmath/clog.c
+++ b/
src/cmath/clog.c
@@
-1,5
+1,9
@@
#include "libm.h"
+// FIXME
+
+/* log(z) = log(|z|) + i arg(z) */
+
double complex clog(double complex z)
{
double r, phi;