Re: Rob: Feature request for next release

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

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.

OK, I'll think about it.
I guess it wouldn't hurt to add them to misc.e.
1-bit shifts using multiply and divide by two are very well 
optimized, but I guess a general n-bit shift, written as efficiently
as possible (in Euphoria) might be useful.

Thanks,
   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