Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Arithmetic shifts

From: jacereda:users:sourceforge at: 17-Aug-2004 11:25

On 17/08/2004, at 8:32, Tom Conlin wrote:
> > the simplest way is > > n: to-integer (n / 2)
But that fails for n=-1. It yields 0, an arithmetic shift should return -1.