now it's possible! printing floating point numbers at compile-time

Stefan Koch uplink.coder at googlemail.com
Sat Dec 22 21:21:25 UTC 2018


On Saturday, 22 December 2018 at 21:06:48 UTC, Basile B. wrote:
> On Saturday, 22 December 2018 at 20:24:46 UTC, Stefan Koch 
> wrote:
>> On Saturday, 22 December 2018 at 20:08:12 UTC, Stefan Koch 
>> wrote:
>>> Thus enabling you to convert doubles into strings at 
>>> compiletime.
>
> Cool, CTFE formating is something that occasionaly comes in the 
> forum. Now i remember there's also RYU [1] that could have 
> worked too
>
> [1] https://github.com/ulfjack/ryu

Thanks for pointing it out, ryu however looks less fast for ctfe 
purposes.




More information about the Digitalmars-d-announce mailing list