mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:14:58 +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:
parent
17c9a3e8d9
commit
fdc53a5995
5 changed files with 1243 additions and 0 deletions
1124
AK/StringFloatingPointConversions.cpp
Normal file
1124
AK/StringFloatingPointConversions.cpp
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue