Created on 2019-08-05.00:00:00, last changed 2019-08-06.17:14:41.
This wording is relative to the Post Cologne working draft.
Modify [format.string] as indicated:
[…] For floating-point numbers the alternate form causes the result of the conversion to always contain a decimal-point character, even if no digits follow it. […]
"For floating-point numbers, the alternate form causes the result of the conversion to always contain a decimal-point character, even if no digits follow it."
So does that mean that infinity is formatted as "inf." and NaN as "nan."? (Or something like that? Where exactly do we add the decimal point in this case?) Or does this affect infinity but not NaN (because we can handwave that a NaN value is not a "floating-point number")?I suspect that this should only cover finite floating-point numbers. Victor Zverovich: Right. So infinity and NaN should be still formatted as "inf" and "nan" without a decimal point.
|2019-08-06 17:14:41||admin||set||messages: + msg10548|