From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CF1073858401; Wed, 31 Jan 2024 14:38:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CF1073858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706711900; bh=+t7CG/2LsXq9ujD17faYIjAR/uWVWrPUD/yqVb8Pbas=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Fe534/NyYkBgA+1izXqX66S+FTmrnqtTn6qrX3nT9slGRiGpWYV6zA4B7ScGIuEJd 4nVT2zXObMj4EZutOiaNunzXH783XO39z60ZQNjjv1VaT6RVmZzbSRw9SB+aWVhXiB rpnhes/G+FnXgrMkw18iLX7dO7iHlAkax/G1F+Ao= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113679] long long minus double with gcc -m32 produces different results than other compilers or gcc -m64 Date: Wed, 31 Jan 2024 14:38:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113679 --- Comment #10 from Jakub Jelinek --- Oh, you mean the pow equality comparison. I think you should study somethi= ng about floating point, errors, why equality comparisons of floating point va= lues are usually a bad idea etc. There is no gcc bug, just bad user expectations.=