On 8/4/2016 11:53 AM, Walter Bright wrote:
It has been proposed many times that the solution for D is to have a function called toFloat() or something like that in core.math, which guarantees a round to float precision for its argument. But so far nobody has written such a function.
https://github.com/dlang/druntime/pull/1621