John Wellbelove
5352182913
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'.
2026-06-06 13:54:12 +01:00
John Wellbelove
aeb8e4f734
Formatted source files
2026-04-02 14:11:45 +01:00
John Wellbelove
d884719098
Fixed all 'extra semicolon' warnings
2025-12-16 09:15:26 +00:00
John Wellbelove
63d1a64e6c
#787 etl::expected doesn't compile with ETL_LOG_ERRORS
...
Updated CI scripts
#786 u8string
#783 Cannot insert existing value to full set
#781 etl::multi_span::iterator::operator *() fails if first span is empty
#780 endian enum_type produces useless-cast warnings
#779 hash.h: warnings produced with -Wfloat-equal
2023-11-24 09:59:35 +00:00
John Wellbelove
baa47d1c33
Updated copyright notice
2022-06-10 21:45:37 +01:00
John Wellbelove
9a2108b982
Modified constant definitions
2021-09-01 16:46:58 +01:00
John Wellbelove
2cd0f79db4
Working code including 64 bit
2021-08-30 16:33:15 +01:00
John Wellbelove
df29374c6e
Pre-release code
2021-08-29 18:50:20 +01:00
John Wellbelove
3659d6f3d9
Working code
2021-08-28 09:18:30 +01:00
John Wellbelove
dbfa71944f
Abstracted unit test framework header
2021-03-05 13:52:34 +00:00
John Wellbelove
569d7ea896
#306-bugfix-to-string-formatting
2020-11-19 11:15:10 +00:00
John Wellbelove
9eaa3e1178
Fix make_string for zero length literals
...
Remove redundant test support code
2020-11-18 18:29:20 +00:00
finger42
8f1361649e
Build and run tests with Clang-9 on Linux ( #252 )
...
* Try to build on Ubuntu-18.04 with Clang-9
* Build with pushes on clang-9 branch too
* Using CC and CXX to set clang-9
* Adding atomic lib for test build on Linux with Clang
* Partial conversion CHECK_EQUAL to CHECK for clang-9
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
Co-authored-by: finger42 <finger42>
2020-08-01 14:20:14 +01:00
John Wellbelove
b96e707bad
Added showbase
2020-07-09 18:57:09 +01:00
John Wellbelove
83347ccfdd
Work in progress
2020-01-09 11:15:50 +00:00
John Wellbelove
b32cc92edc
Fixed rounding up bug in etl::to_string
2019-10-31 12:56:07 +00:00
John Wellbelove
e5325aa379
Fixed incorrect result for negative float to string
2019-10-11 18:35:58 +01:00
John Wellbelove
cf02ec64c7
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/to_string.h
# include/etl/to_u16string.h
# include/etl/to_u32string.h
# include/etl/to_wstring.h
# support/Release notes.txt
2019-04-19 13:46:55 +01:00
John Wellbelove
ba3ced4420
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/basic_format_spec.h
# include/etl/private/to_string_helper.h
# include/etl/to_string.h
# include/etl/to_u16string.h
# include/etl/to_u32string.h
# include/etl/to_wstring.h
# include/etl/version.h
# support/Release notes.txt
2019-04-19 13:46:55 +01:00
John Wellbelove
9263ae0520
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/to_string.h
# include/etl/to_u16string.h
# include/etl/to_u32string.h
# include/etl/to_wstring.h
# support/Release notes.txt
2019-04-19 13:46:16 +01:00
John Wellbelove
a2f4ea123c
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/basic_format_spec.h
# include/etl/private/to_string_helper.h
# include/etl/to_string.h
# include/etl/to_u16string.h
# include/etl/to_u32string.h
# include/etl/to_wstring.h
# include/etl/version.h
# support/Release notes.txt
2019-04-19 13:44:25 +01:00
John Wellbelove
b926321da6
Merge remote-tracking branch 'origin/feature/to_string' into development
2019-04-16 18:08:26 +01:00
John Wellbelove
31f33e78ee
Fixed bug in fractional part for floating point with leading zeros after the decimal point.
2019-04-16 08:39:38 +01:00
John Wellbelove
e62ba1356d
Attempt to force changes to master
2019-04-15 19:23:54 +01:00
John Wellbelove
d6d078b49e
Unified 'to_string' API
2019-04-15 14:58:12 +01:00
John Wellbelove
9ef75bd89e
Final unit tests for all string types.
2019-04-14 19:26:55 +01:00
John Wellbelove
11da8e133f
Changed etl::format_sepc template to etl::basic_firmat_spec.
...
Created individual format_spec typedefs for each string type.
2019-04-09 06:30:46 +01:00
John Wellbelove
4b79628bae
Added etl::to_string, etl::to_wstring, etl::to_u16string and etl::to_u32string
...
plus formating support for integrals.
Updated version number.
2019-04-08 19:32:50 +01:00
John Wellbelove
e122b380a3
Added named base settings
2019-04-08 13:58:48 +01:00
John Wellbelove
5220837979
Completed unit tests
2019-04-07 15:37:20 +01:00