Added to_string_rounded_freq() function (#1271)

* Added to_string_rounded_freq function

* Added to_string_rounded_freq function

* Clang

* Clang try #2

* Use constexpr for pow10 array

* Additional string_format test cases

* Specify std=c++17 for g++ versions that default to an older standard

* Corrected string_format test cases
This commit is contained in:
Mark Thompson
2023-07-14 13:38:02 -05:00
committed by GitHub
parent 4985d836ea
commit 61cb57e48d
4 changed files with 71 additions and 8 deletions

View File

@@ -71,6 +71,7 @@ target_include_directories(application_test PRIVATE
)
target_compile_options(application_test PRIVATE
-std=c++17
-DLPC43XX
-DLPC43XX_M0
-D__NEWLIB__