Detecting inadvertent use of integer division

Bob Jones me at not.com
Mon Dec 14 22:46:48 PST 2009


"bearophile" <bearophileHUGS at lycos.com> wrote in message 
news:hg6rns$ta6$1 at digitalmars.com...
>
>
> Even if you find a fitting operator, how can you restrict \ to just 
> floating point division
> and keep some compatibility with C code?

Isnt compatibility with C already broken anyway?

But yeah if C compatibility is a condition then I dont see how to get around 
it.

Weird thing is I get the impression that breaking compatibility between D 
and C is more of a sin than breaking compatibility between versions D. Is 
source compatibility with C really that important? Surely link compatibility 
should be enough? 





More information about the Digitalmars-d mailing list