Numbers are not easy -- Šimon Tóth
As the blurb says, "The C++ integral and floating-types zoo"...
Numbers are not easy
by Šimon Tóth
From the article:
Arguably one of the most error-prone parts of C++ is integral and floating-point expressions. As this part of the language is inherited from C, it relies heavily on fairly complex implicit conversion rules and sometimes interacts unintuitively with more static parts of C++ language.
This article will cover the rules and several surprising corner cases one can encounter when working with integral and floating-point types and expressions...