Skip to content

Replace Ex.y format with ESx.y

Jellby requested to merge print_format into master

Use ES for format specification in exponential notation for improved accuracy (and, at least for me, easier interpretation). This would change 0.123E-05 into 1.234E-06. There should not be any adverse effect, except in cases with not enough space where numbers would end up as -.123E-05.

  • Documentation updated or not needed.
  • Test created or not needed.
  • Attribution in source files and CONTRIBUTORS.md updated if necessary.

Merge request reports