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