Andrew on Nostr: a full adder generally has two extra inputs, carry-out and carry-in, the former to ...
a full adder generally has two extra inputs, carry-out and carry-in, the former to indicate an overflow and the latter to add numbers longer than the adder's width quickly, in this case you set the carry-in bit of the least significant word to 0
this isn't always the case though: e.g. if you subtract two numbers with the same full adder, you use the carry-in to supply the extra 1 after negating one of the arguments
Published at
2024-08-17 01:33:28Event JSON
{
"id": "172ea8d9d7b4bca8f12a46fe7f4a9c61b5baae301e32ad2675d53cde8ea356f2",
"pubkey": "fd44ebd34b86013062243daa7efa1e94002246dd0c5eb9579dbea2c8ce9208c9",
"created_at": 1723858408,
"kind": 1,
"tags": [
[
"proxy",
"https://stereophonic.space/objects/ce98d8ea-38b3-4743-b0c7-d0e04c6ed440",
"activitypub"
]
],
"content": "a full adder generally has two extra inputs, carry-out and carry-in, the former to indicate an overflow and the latter to add numbers longer than the adder's width quickly, in this case you set the carry-in bit of the least significant word to 0\nthis isn't always the case though: e.g. if you subtract two numbers with the same full adder, you use the carry-in to supply the extra 1 after negating one of the arguments",
"sig": "626bb23cc8f44973df64debeeb1a53df5be58738df3b925fdaee3381ec9b14acb3419a9acaf2cf84240d1962978e2d72be481d181dc41ccb558fb4a287c3a2fe"
}