projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix wide printf forms ignoring width for %lc format specifier
[musl]
/
src
/
complex
/
cproj.c
diff --git
a/src/complex/cproj.c
b/src/complex/cproj.c
index
1cf9bb9
..
d2b8f5a
100644
(file)
--- a/
src/complex/cproj.c
+++ b/
src/complex/cproj.c
@@
-1,8
+1,8
@@
-#include "
libm
.h"
+#include "
complex_impl
.h"
double complex cproj(double complex z)
{
if (isinf(creal(z)) || isinf(cimag(z)))
- return
cpack(INFINITY, copysign(0.0, creal
(z)));
+ return
CMPLX(INFINITY, copysign(0.0, cimag
(z)));
return z;
}