[PATCH] D19623: [libc++] Initialize local doubles to 0.0.

Howard Hinnant via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 15:26:54 PDT 2016


howard.hinnant added a subscriber: howard.hinnant.
howard.hinnant added a comment.

When in doubt, I find initializing to nan a safe thing to do.  Either the code is correct, or the nan will find the bug.


http://reviews.llvm.org/D19623





More information about the cfe-commits mailing list