Bitwise rotate of integral
Steven Schveighoffer
schveiguy at gmail.com
Mon Jan 7 15:35:20 UTC 2019
On 1/7/19 10:10 AM, Per Nordlöw wrote:
> On Monday, 7 January 2019 at 14:53:26 UTC, Alex wrote:
>> There are
>> https://dlang.org/phobos/core_bitop.html#.rol
>> and
>> https://dlang.org/phobos/core_bitop.html#.ror
>>
>> But it seems the implementation is like yours.
>
> Ahh, missed that. Thanks.
Use the core.bitop ones. Chances are they are intrinsics on certain
platforms.
-Steve
More information about the Digitalmars-d-learn
mailing list