[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #5 from Marc Adams --- (In reply to Thomas Koenig from comment #3) > Hm, strange.. I get > > x1/x2 %DDf > > This is with > > GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.4) stable release version 2.39. > > with > > gcc (GCC) 1

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #4 from Sam James --- If using Ubuntu, please be aware of the issue mentioned in PR120609.

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #3 from Thomas Koenig --- Hm, strange.. I get x1/x2 %DDf This is with GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.4) stable release version 2.39. with gcc (GCC) 16.0.0 20250530 (experimental) Unrelated / configuration error

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 Uroš Bizjak changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2

[Bug libgcc/120691] _Decimal128 arithmetic error under FE_UPWARD

2025-06-18 Thread madams846 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691 --- Comment #1 from Marc Adams --- I tested my larger program on a wide range of input values and it only failed when it converted integer value '9825' to Decimal128 then divide by '1'. A work-around could be to convert int to double then