https://issues.dlang.org/show_bug.cgi?id=8424 --- Comment #8 from Nick Treleaven <nick at geany.org> --- Looks like this is implemented pending release: https://dlang.org/changelog/pending.html#formatting_floats_in_CTFE --