From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2E46B3858435; Mon, 25 Mar 2024 10:59:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E46B3858435 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711364366; bh=mkrn63uQVYFI39xQfF86uAUNmU8CAVcBCyPUlyobJdw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HRXB7xkkZttkN2KJVxIN0a7fqPD91Vjefo4gKJDjE9Fg7pSwjxpL2s7Ft5c9dvuBn 5xKbgOJBlMreYJj1aKh4g0j7mpUnv9HwyTU+jNIOJ/FbXq9CINsLovSvybOL0FhFGs QoDZQC0NzcEP5aqepoP09xzIEjkTJKYrPfChtqIk= From: "newbie-02 at gmx dot de" To: glibc-bugs@sourceware.org Subject: [Bug manual/31516] documentation: where to define rounding modes for other operations? Date: Mon, 25 Mar 2024 10:59:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: newbie-02 at gmx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31516 --- Comment #2 from b. --- (In reply to Joseph Myers from comment #1) > Floating-point addition is how ISO C defines FLT_ROUNDS.=20=20 Can be, but think the mode is affecting other operations too.=20=20 If ISO C used a 'simple' misleading definition it need=20=20 not spread further. The mislead is that it injects the idea=20=20 of different rounding modes for different operations.=20=20 > You don't want to > use it if you're changing the rounding mode with fesetround anyway, since= it > doesn't reflect such runtime changes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D30569=20 don't understand the connection, nor the other bug at all.=20=20 Think I can change the rounding mode with fesetround, also=20=20 at runtime, needs other parameters but works.=20=20 The bug was only about 'addition' vs. 'operation'. --=20 You are receiving this mail because: You are on the CC list for the bug.=