Re: Rob: Feature request for next release
- Posted by Vincent <darkvincentdude at yahoo.com> Oct 17, 2005
- 1432 views
Robert Craig wrote: > > 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 > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> > Heh yea, instead maybe you can provide a link to "bit.zip" at the "2.6 Bitwise Logical Operations" description in the manual, mentioning that bit shifting, rotating, etc. routines are available in that lib. With Juergen Luethje's permission of course . Regards, Vincent