On Saturday, 22 December 2018 at 20:08:12 UTC, Stefan Koch wrote:
I came across a short and efficient implementation[0] of the grisu2 algorithm for converting floating point numbers into strings.

Which I then ported into CTFEable D code.
Thus enabling you to convert doubles into strings at compiletime.

Great! Is the MIT license compatible with Boost? If so I suggest we include it in Phobos. I remember Andrei was calling for a Grisu port for CTFE some years ago, but I think licensing of non-D implementations at the time was an issue.

Reply via email to