From: Christian Würdig Date: Mon, 26 Feb 2007 17:03:40 +0000 (+0000) Subject: fixed CRLF X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=0f41eee6d544f84abb5efc322bc506c8e1b79581;p=libfirm fixed CRLF changed ugly code of mode_honor_signed_zeros [r8668] --- diff --git a/ir/ir/irmode.c b/ir/ir/irmode.c index 6dfb28400..77a6a8769 100644 --- a/ir/ir/irmode.c +++ b/ir/ir/irmode.c @@ -911,9 +911,9 @@ int mode_honor_signed_zeros(const ir_mode *mode) { /* for floating point, we know that IEEE 754 has +0 and -0, * but always handles it identical. */ - if (mode->sort == irms_float_number) - return mode->arithmetic == irma_ieee754 ? 0 : 1; - return 0; + return + mode->sort == irms_float_number && + mode->arithmetic != irma_ieee754; } /*