Hi Ketmar, thanks for sharing your work!

On Friday, 28 December 2018 at 19:03:02 UTC, ketmar wrote:
Stefan Koch wrote:
[ ... ] [1] https://github.com/UplinkCoder/fpconv/blob/master/src/fpconv_ctfe.d

of course, it is not all that fancy, but i ported STB converter quite a long time ago, and it is ctfe-able too. ;-)

[0] https://repo.or.cz/iv.d.git/blob_plain/HEAD:/ctfefloat.d


I've benchmarked it[0] against fpconv_ctfe[1] and yours is almost as fast! However it has a a little more error when converting floats than grisu2 has.

Meaning generally the output cannot round-trip.

Warm greetings,

Stefan

Reply via email to