From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EE5DB3858D33; Thu, 18 Jan 2024 06:41:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE5DB3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705560072; bh=teSEpS0lBQI9WNfFE8idAjNBd1tZPgndWypGbNAghJQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GNeP6DvwjNOjxYfpi/d3/XfG82YJBIsAfkIXJNK5+edqE6mzwOjaIkIPtuBjWggsZ BhmHWXcOfOttSp9DV2ZPcBPbd8CNANBVsIEUh3KYPRjhcopmHc67r7cN7TfvDw/9OC wakntItffDKU8c95J2I7SKneqacRsJ56rzcYBMOo= From: "newbie-02 at gmx dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/113455] ROUNDING: IEEE Standard: Missing decimal rounding mode 'nearest, ties away from zero' for decimalxxx datatypes. Date: Thu, 18 Jan 2024 06:41:12 +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.0 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: 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=3D113455 --- Comment #4 from newbie-02 --- (In reply to Joseph S. Myers from comment #3)=20=20 :-) - thank you, you are my hero,=20=20 > If you're doing arithmetic with constant operands, it might be > folded at compile time; make sure you're using -frounding-math to avoid t= hat. Think that was it, using volatile variables makes a difference.=20=20 ( I hate! cheating compilers and I hate me again and again seeking for that same trap ... sorry )=20=20=20 reg. 'availability': think that 'modul' / each 'modul' which provides the datatype should also provide the rounding mode ... good logic? Effort to implement is once, users seeking would be over and over again ... endless .= .. not good.=