Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/complex/cproj.c')
-rw-r--r--newlib/libm/complex/cproj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/complex/cproj.c b/newlib/libm/complex/cproj.c
index 42fc0f1e8..32a757f92 100644
--- a/newlib/libm/complex/cproj.c
+++ b/newlib/libm/complex/cproj.c
@@ -93,7 +93,7 @@ cproj(double complex z)
{
double_complex w = { .z = z };
- if (isinf(creal(z) || isinf(cimag(z)))) {
+ if (isinf(creal(z)) || isinf(cimag(z))) {
#ifdef __INFINITY
REAL_PART(w) = __INFINITY;
#else