[Feature] Reimplementing of floating-point <-> ASCII conversions
Original Reporter info from Mantis: Stein2051 @Stein2051
-
Reporter name: Max Nazhalov
Original Reporter info from Mantis: Stein2051 @Stein2051
- Reporter name: Max Nazhalov
Description:
With the hope it will be useful, attached a fully working implementation of the relatively young algorithm for accurate float->ASCII conversion.
It was thoroughly tested on the 32-bit i386 for all 4 main floating-point types defined by IEEE, with the help of the SoftFPU unit distributed in the FPC source tree, and prove its viability.
All necessary information is provided in the source files (mainly, in the flt_conv.inc). Testsuit adaptation is also included, however a couple of tests are not fixed due to their roughness.