Real implicitly converts to float?

Tofu Ninja via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 23 08:41:12 PDT 2016


On Thursday, 23 June 2016 at 15:25:49 UTC, Steven Schveighoffer 
wrote:
> I disagree. I've used languages where converting floating point 
> types is not implicit, and it's painful. Most of the time, the 
> loss in precision isn't important.
>
> -Steve

Which is why a flag would be nice, for some applications the 
precision matters, for some it doesn't.


More information about the Digitalmars-d-learn mailing list