What is interesting about it is, DMD already has the solution, and it is there, implemented!

Just check the page :
http://www.digitalmars.com/d/2.0/float.html

Read the constant folding.
If you already have this capabilities, why limit the user?
C was a great language but lets get over with this backward-support paranoia. :)

Thanks.

On Sun, 28 Mar 2010 15:02:25 +0400, so <s...@so.do> wrote:

Hello, after a little discussion on D.learn, i better ask this here since i didn't get much replies.
Two lil questions.

Why "3" is an int?
Why "0.3" is a double?

Thanks!



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

Reply via email to