Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 4 12:59:41 PDT 2016


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


More information about the Digitalmars-d mailing list