Hi Jorge,

>> n: to-integer (n / 2)

JAM> But that fails for n=-1. It yields 0, an arithmetic shift should return 
JAM> -1.

What it should return depends on whether you want a signed or unsigned
shift; both are valid. Glad you figured out a solution though.

-- Gregg                         

-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to