Closed rsivek closed 6 years ago
It seems like that was unnecessary. See "The type of the literal" at https://en.cppreference.com/w/cpp/language/integer_literal.
Indeed it looks like the suffix was unnecessary. The mmHg definition in 3.x should probably be changed then for consistency.
When I suggested a new unit for mmHg, @johelegp suggested using the
LL
suffix to avoidint
overflow. I have since noticed a couple of other units which are defined with pretty large ratios which would probably overflow anint
such aslightyear
andfoot_pound
. Should those be modified to use theLL
suffix as well to avoid overflow problems?