Re: Rob: Feature request for next release
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
|
Not Categorized, Please Help
|
|