> Maybe it makes sense that in the proposal below the parameter
> EXTRA_DIGITS could be SIGNIFICANT_DIGITS with a default value
> of 15 and maximum 18.
> Its more 'documentable' and maybe easy to understand in general.
Yes agree (or double_significant_digits or format_double_digits ?),
but default to DBL_DIG and allow range between 1 and DBL_DIG + 3.
format_* could be used for all future output format tweaks.
Unfortunately %A is not portable :-(
Andreas