Re: Rob: Feature request for next release
- Posted by Robert Craig <rds at RapidEuphoria.com> Oct 17, 2005
- 1373 views
Juergen Luethje wrote: > christian cuvier wrote [quoting level corrected]: > > posted by: Bernie Ryan > >> Vincent wrote: > >>> Rob, can we have some basic bit shifting routines for the next release: > >>> shift_left() and shift_right()? It doesnt matter to me if they are > >>> implemented internally, machine_proc/func(), or routines in "misc.e"... > >>> anything would do; they are neccessary. > >> > >> Vincent: > >> shifting is already available in Euphoria by > >> multiplying and dividing by 2. > >> check the library doc. > >> see power function > >> Bernie > > > > I'd rather push for rotate() functions that would work on any 32-bit > > integers. > > You can do this and much more, using <<a > href="http://rapideuphoria.com/bit.zip">http://rapideuphoria.com/bit.zip</a>>. I guess I had better look at what you did before I re-invent the wheel. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com