etl/include
John Wellbelove 1ca5bb012f
to string() does not handle floating point number with integer part exceeding max uint64 t (#1455)
* Added 'scientific' flag to basic_format_spec to allow forcing of scientific format for all floating point values.

* Forces floating point numbers that are larger than than the internal integral workspace types to be formatted in scientific format.

Also allows scientific format to be forced for all floating point output.
NAN and INF outputs now follow case settings, as does the new scientific exponent letter. 'e' or 'E'.

* treefmt changes

* Quick fixes

* Removed <format>

* Added tests for NAN and INF

Fixed result for -INF

* Added tests for upper and lower case scintific format.

* Changed incorrect stream header from <strstream> to <sstream>

* Update test_to_string.cpp

* Update test_to_u16string.cpp

* Update test_to_u32string.cpp

* Update test_to_u8string.cpp

* Update test_to_wstring.cpp

* clang-format updates

* clang-format updates

* Re-coded the precision calculation in add_floating_point_scientific to match add_floating_point_non_scientific

* Rename step 1

* Fix: rename docs/Messaging to docs/messaging

* Rename step 1

* Fix: rename docs/Messaging to docs/messaging

* Rename step 1

* Fix: rename docs/Messaging to docs/messaging

* Changed incorrect stream header from <strstream> to <sstream>

* Update test_to_string.cpp

* clang-format updates

# Conflicts:
#	test/test_to_string.cpp

* Remove old docs folder

* clang-format updates

# Conflicts:
#	test/test_to_string.cpp

* Re-commit missing file

---------

Co-authored-by: John Wellbelove <john.wellbelove@etlcpp.com>
2026-06-08 14:16:52 +01:00
..
etl to string() does not handle floating point number with integer part exceeding max uint64 t (#1455) 2026-06-08 14:16:52 +01:00