I'm convinced that our implementation is not correct (does not match what's in the standard, and the difference is detectible). I have no opinion about libstdc++'s implementation. http://reviews.llvm.org/D7862 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/