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/cprojf.c')
-rw-r--r--newlib/libm/complex/cprojf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/complex/cprojf.c b/newlib/libm/complex/cprojf.c
index 3e08f0c30..1310170b6 100644
--- a/newlib/libm/complex/cprojf.c
+++ b/newlib/libm/complex/cprojf.c
@@ -55,7 +55,7 @@ cprojf(float complex z)
{
float_complex w = { .z = z };
- if (isinf(crealf(z) || isinf(cimagf(z)))) {
+ if (isinf(crealf(z)) || isinf(cimagf(z))) {
#ifdef __INFINITY
REAL_PART(w) = __INFINITY;
#else