Merge branch 'release'
Merge branch 'release'
Merge branch 'release'
Merge branch 'release'
Removed the formatting project from the list of future improvements.
Fixed indirect documentation reference.
Merge branch 'release'
Merge branch 'master' into printing_format_2
Formatting of numbers with uncertainty: added test function and started documentation.
Removed debug code.
"All" formatting tests written.
Test for rare case of uncertainty > |nominal value|.
Unnecessary line removed.
More verbose error message.
I decided that the width be global, as it is currently when formatting floats: this way, the size of the exponent has no impact on the final string (when it fits in the width). If the width was the individual width of the nominal value and standard deviation, then (2±1)e10 and (2±1)e100 would yield strings of different sizes.
0 in the format specification is ignored, because (1) it is cumbersome to combine it with a global width (should both the nominal value and the uncertainty share additional zeroes?); (2) it is probably not very often used with floats (more with integers); (3) people who really need it can separately format the nominal value and the uncertainty (but they unfortunately lose the ability to control the number of digits depending on the uncertainty).
Added thoughts about having two width specifications (temporary notes).
Added formatting test for NaN uncertainties.
Removed useless OrderedDic.
Added special cases (effect of the precision on the exponent notation).