howard.hinnant added a comment.

A quiet nan is the right tool.  A signaling nan is nothing more than a 
40-year-old design flaw.  A quiet nan is "sticky" in that if you try to compute 
with it, the result is quiet nan.  But you can assign a valid number to 
something containing a quiet nan.  So if your answer has nans in it, you know 
you didn't initialize something properly somewhere.


http://reviews.llvm.org/D19623



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to