wth!! ctfe cannot format floating point at compile time?

Johnson Jones via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 13 18:52:16 PDT 2017


Error: uncaught CTFE exception std.format.FormatException("Cannot 
format floating point types at compile-time")
called from here: to(0.75)

pretty simply, trying to convert a floating point to a string in 
a ctfe function and it thinks that it is too complex to do in a 
ctfe, really?


More information about the Digitalmars-d-learn mailing list