Why is this D code slower than C++?

Lionello Lunesu lio at lunesu.remove.com
Fri Jan 19 01:49:25 PST 2007


Lionello Lunesu wrote:
> You must have made a mistake somewhere, because the rendered image from 
> D and C++ are not the same!
> 
> The image from the D exe has a lone white pixel (also present in the 
> 'float' versions, both D and cpp), but that white pixel is gone in the 
> cpp version (both dmc and msvc).
> 
> L.

Sorry, I thought the .d files were also using 'double', but they're 
not.. This explains the different outcome.

L.


More information about the Digitalmars-d-learn mailing list