https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128138
Roger Sayle <roger at nextmovesoftware dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
CC| |roger at nextmovesoftware dot
com
Last reconfirmed| |2026-10-26
Assignee|unassigned at gcc dot gnu.org |roger at
nextmovesoftware dot com
--- Comment #2 from Roger Sayle <roger at nextmovesoftware dot com> ---
Created attachment 65968
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65968&action=edit
proposed patch
Doh! There's a thinko (or two!) in my implementation of real_isoddinteger.
Clearly at somepoint I'd assumed this would (probably) be called as
real_isinteger(x) && real_isoddinteger(x) and at some point changed the
semantics without finishing/fixing the implementation. Sincere apologies.
This should fix both 3.5 and 1e300 exponents. Thanks for finding/reporting
this.