1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 04:07:34 +00:00

AK: Add framework for a unified floating point to string conversion

Currently, the floating point to string conversion is implemented
several times across the codebase. This commit provides a pretty
low-level function to unify all of such conversions. It converts the
given double to a fixed point decimal satisfying a few correctness
criteria.
This commit is contained in:
Dan Klishch 2022-10-25 14:00:49 -04:00 committed by Andrew Kaster
parent 17c9a3e8d9
commit fdc53a5995
5 changed files with 1243 additions and 0 deletions

View file

@ -62,6 +62,7 @@ set(AK_TEST_SOURCES
TestStack.cpp
TestStdLibExtras.cpp
TestString.cpp
TestStringFloatingPointConversions.cpp
TestStringUtils.cpp
TestStringView.cpp
TestTime.cpp