Since FloatToDecimal and DoubleToDecimal are used in Float.toString and Double.toString, some code in FloatingDecimal is not used.
This PR refactors `FloatingDecimal` and `DigitList` to improve efficiency and reduce code duplication.
Key changes:
* Convert internal digit storage from `char[]` to `byte[]` for reduced memory footprint.
* Remove unused code and methods that are no longer needed.
This PR refactors `FloatingDecimal` and `DigitList` to improve efficiency and reduce code duplication.
Key changes:
* Convert internal digit storage from `char[]` to `byte[]` for reduced memory footprint.
* Remove unused code and methods that are no longer needed.
- links to
-
Review(master) openjdk/jdk/23311