projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prevent CNAME/PTR parsing from reading data past the response end
[musl]
/
src
/
complex
/
cproj.c
diff --git
a/src/complex/cproj.c
b/src/complex/cproj.c
index
9ae1e17
..
d2b8f5a
100644
(file)
--- a/
src/complex/cproj.c
+++ b/
src/complex/cproj.c
@@
-3,6
+3,6
@@
double complex cproj(double complex z)
{
if (isinf(creal(z)) || isinf(cimag(z)))
- return CMPLX(INFINITY, copysign(0.0, c
real
(z)));
+ return CMPLX(INFINITY, copysign(0.0, c
imag
(z)));
return z;
}