[llvm-bugs] [Bug 235266] [clang][ExpandIRInsts] `[su]itofp iN -> x86_fp80` (N > 128) converts via fp128 and then truncates, so it rounds twice: `(long double)(unsigned _BitInt(129))(2^127 + 2^63 + 1)` gives 2^127 instead of 2^127 + 2^64

LLVM Bugs via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 24 01:58:55 PDT 2026


An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20261024/5cc3f270/attachment.html>


More information about the llvm-bugs mailing list