![]() When initializing unsigned integers to their maximum values, change "const T M(~0);" to "const T M(static_cast<T>(-1));". ~0 and -1 are equivalent, but I consider the -1 form to be significantly clearer (and more consistent with other tests). llvm-svn: 287827 |
||
---|---|---|
.. | ||
rand.eng.lcong | ||
rand.eng.mers | ||
rand.eng.sub | ||
nothing_to_do.pass.cpp |