[Issue 6829] Unsigned rotate standard function in Phobos

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 13 02:37:40 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6829



--- Comment #30 from bearophile_hugs at eml.cc 2013-07-13 02:37:33 PDT ---
(In reply to comment #28)

> Ack, the example is bad. This one generates rol/ror:

For normal D programmers it's easy to write D "rotation" code that the D
compiler doesn't recognize. So here I have proposed to add two standard rol/ror
template functions to core.bitop that all D programmers can use safely and all
D compilers can optimize well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list