https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113455
--- Comment #7 from newbie-02 ---
> (and GCC doesn't implement the FENV_DEC_ROUND pragma to set a constant
> rounding mode in a particular scope)
here we are leaving my level of knowledge about internals.
Let me formulate from a user /
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113455
--- Comment #5 from newbie-02 ---
> If you're doing arithmetic with constant operands, it might be folded at
> compile time; make sure you're using -frounding-math to avoid that.
hm... that issue is left. From your comment I was in hope
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113455
--- Comment #4 from newbie-02 ---
(In reply to Joseph S. Myers from comment #3)
:-) - thank you, you are my hero,
> If you're doing arithmetic with constant operands, it might be
> folded at compile time; make sure you're using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113455
--- Comment #2 from newbie-02 ---
(In reply to Joseph S. Myers from comment #1)
hello and thank you very much!!,
> The decimal rounding mode is set with fe_dec_setround.
found in my directories that I already had experimented with that,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113455
Bug ID: 113455
Summary: ROUNDING: IEEE Standard: Missing decimal rounding mode
'nearest, ties away from zero' for decimalxxx
datatypes.
Product: gcc
Version:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113365
--- Comment #4 from newbie-02 ---
hello @Andrew Pinski,
just if I'm allowed to add one more point / question:
using the testing program, playing with optimization, I get
the following results for binary64s ( doubles ):
unoptimized:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113365
--- Comment #3 from newbie-02 ---
hi, thank you, super service, super fast, works!
can't tell if the -O0 behaviour is meaningful ...
but think it is rarely used. I came to it in my
attempts to avoid compiler cheating / optimizing.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113365
Bug ID: 113365
Summary: LONG DOUBLE: denormals: assigning a constant: factor
100 slow,
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal