Re: Rob: Feature request for next release

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

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 smile.


Regards,
Vincent

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

Search



Quick Links

User menu

Not signed in.

Misc Menu