[Bug libgcc/77265] Casting an extended precision long double "inf" to __float128 results in "nan"
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 16 12:54:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77265
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-08-16
Component|c |libgcc
Ever confirmed|0 |1
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
__extendxftf does not convert (clear) explicit lead bit to an implicit.
extended-precision does not utilize implicit/hidden bit.
So, 0x7fff80..0 that represents extended-precision infinity gets converted
directly to 0x7fff80....0 that represents quad-precision NaN.
Confirmed, soft-fp should be fixed.
More information about the Gcc-bugs
mailing list