PROPOSAL: Implicit conversions of integer literals to floating point

so so at so.do
Thu Dec 30 11:49:16 PST 2010


> But people don't expect 1/2 to return 0.5000 and D isn't C++

People don't expect it because of the existence of a rule that makes no  
sense.
I would absolutely expect 1/2 to return 0.5!

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list