[PATCH] D88238: [APFloat] convert SNaN to QNaN in convert() and raise Invalid signal

John McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 11:59:25 PDT 2020


rjmccall added a comment.

In D88238#2304308 <https://reviews.llvm.org/D88238#2304308>, @rjmccall wrote:

> Hmm.  Is there a way to actually get an sNaN in floating-point type?  I'm concerned that we might be pushing a formal argument in a way that undermines usability.

I mean in a non-`double` floating-point type.  I guess there's `__builtin_nansf` and so on; for some reason we don't seem to test those as much as we test `__builtin_nans`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88238/new/

https://reviews.llvm.org/D88238



More information about the llvm-commits mailing list