Boost logo

Boost Users :

Subject: [Boost-users] Is there rotate-shifts in Boost?
From: Murilo Adriano Vasconcelos (muriloufg_at_[hidden])
Date: 2010-07-28 10:31:10


Hi, I am a GSoC student and I am implementing a library to handle integral
values.

I want to know if exists functions to do integer rotate shifts in Boost.
If it not exists I am suggesting these functions:

http://svn.boost.org/svn/boost/sandbox/SOC/2010/bits_and_ints/boost/integer/rotate.hpp

To do right and left rotation shifts.

And want to know if is better to check if the length of rotation is less
than the size in bits of the type.

Best,

-- 
Murilo Adriano Vasconcelos
http://murilo.wordpress.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net