From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4B8713858D38; Thu, 9 Nov 2023 06:56:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B8713858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699512997; bh=y6wTHUw1eUck7Vp9JhZlNvKdDtJL1I0ufxSYt65jloc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=XjIQ/LuQ36aqrKIo99CUW65MKWf6ZBO+JpkZrN+xNTMeW5d8VoYqO5FD3/ynoDjDO Ku9eOHpSqvCnqI1QMLmg+kWCXTscmk/Yot7ru1AtBsPMV5p2Ek+mP868f00CyIRqGy fLqfUVpVTjvjlyCk2YRA7OP3f0Eflt1+etKIDr1E= From: "post+gcc at ralfj dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/112449] Arithmetic operations can produce signaling NaNs Date: Thu, 09 Nov 2023 06:56:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: post+gcc at ralfj dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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=3D112449 --- Comment #7 from post+gcc at ralfj dot de --- I guess the idea is that by passing a signaling NaN to a float operation, I= am already entering unspecified behavior, so it's okay for that float operatio= n to violate its usual contract and return a signaling NaN?=