[PATCH] D41868: APFloat/x87: Fix string conversion for "unnormal" values (pr35860)

Steve Canon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 07:16:20 PST 2018


scanon added a comment.

(After checking the architecture manual)

On 387 and later, all unnormals is treated as an "invalid operand", which means they behave the same as a signaling NaN; I think we should probably print them as such. This is a somewhat more invasive change, as you say, but it's more correct behavior.


https://reviews.llvm.org/D41868





More information about the llvm-commits mailing list