sqrt(2) must go

Jesse Phillips jessekphillips+D at gmail.com
Wed Oct 19 09:39:43 PDT 2011


Don Wrote:

> However, when I proposed the fix on the newsgroup (integer literals 
> should have a preferred conversion to double), it was *unanimously* 
> rejected. Those who had argued for the hack were conspicuously absent.
> 
> The hack must go.
> 

I agree. If we should have a proper fix, or no fix at all. If it isn't going to compile then be sure it is documented. While it will be strange not having it compile it does make sense that when dealing with floating point you should choose its size.


More information about the Digitalmars-d mailing list