Bitshifting operations ignores two's compliment *only* for shifting negative numbers right

Things that has been reported already before.
Post Reply
antlers
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed May 24, 2023 12:35 am
Contact:

Bitshifting operations ignores two's compliment *only* for shifting negative numbers right

Post by antlers »

Title. Bitshift operations follow two's compliment for every single operation... except for attempting to shift a negative number right. I've had to work around this in my computer using extra combinators & an extra tick of circuit network delay, but I'd prefer to not have to do either in the first place. Attached images for evidence. [D] signal should be outputting 2147483648, not -1.
Attachments
image1.png
image1.png (22.2 KiB) Viewed 383 times
image.png
image.png (42.7 KiB) Viewed 383 times


Post Reply

Return to “Duplicates”