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

There are languages that have had to wait for a major language update to reach that:
http://ideone.com/YdFbl

I am not familiar with Python and its community, but such a change in a language even in a major update... great work!

While other ones have gotten it right from the beginning (Scheme numerical tower is well designed):
http://ideone.com/q2Hot

From the example, looks like it evaluates integer divisions to rational numbers while real numbers output real numbers.
This wouldn't work on a language like D.

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

Reply via email to