Simple features that I've always missed from C...
bearophile
bearophileHUGS at lycos.com
Tue Oct 18 00:37:43 PDT 2011
Walter Bright:
> There's no need for a compiler intrinsic. Just write a function that does do the
> optimization, and call it.
Right. Two functions like this are worth putting somewhere in Phobos.
> The signed versions "don't work" because a signed right shift is not the same
> thing as an unsigned right shift.
It was a mistake in my code.
Thank you, bye,
bearophile
More information about the Digitalmars-d
mailing list