>You've got me thinking...
>
>If sizeof(int) = 4 and int x, y then x = y >> 31 should return -1 and 0 or you could return -1 and 1 from maybe something like x = (y > > 31) < < 1 + 1
>
>Right? I don't think the 2nd example would be very fast though
Might be. That's how computers multiply and divide:)
Cetin