Re: Rob: Feature request for next release

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu