For anyone who doesn’t want to do the conversion, that’s 17 days.
Or -15 days
Ominous
Mmm yes. 5 bit two’s complement.
I shouldn’t make fun of it we’ve definitly made some ISA that weird.
what’s the general rule for translating negatives from binary? did you just do like 17 - 2 • (-1) or something?
I used what known as 2’s compliment. Take the complement (flip all the bits - here that would give you
01110which is 14) then add 1.thanks for the explanation! could you express it as a NOT operation plus one? like is that how it would be processed at a low level?
My low level is a tad rusty from when I learned the C side in school, but if I recall the not operator resolves as a single Boolean (0 or 1 in true C), whereas compliment comes back as however many bits you put in - a not operation per bit.
In C, the not operator is
!and the compliment operator is~
It also has a max of 31 days possible. Which has… implications.
Unless it’s a signed integer, then it’s -1 and they’re expecting something…
A 5 bit long signed integer? What kind of weird system you using ? :p
Two’s complement
Because a 5 bit unsigned integer is so much better? :p
Only if you’re using a sign bit rather than two’s compliment (a sign bit allows for two representations of 0)
Or 11 in hexadecimal
B is 11 in hex though?
I did and I regret it
It’s a great way to save on number boards
Not so much on board space
You can save if your lab is unsafe enough!
It bothers me it’s not in 4 bit “bytes” even though I know it’s just a convention for computers
The four bit sections of eight bit bytes are called nibbles, you know because nibbles are small bites
Ugh jeez… right. I literally always mess that up
You can do all of math in binary, it isn’t just for computers. In fact, the proof for “Russian Peasant Multiplication” was written in binary.
So you can do all mathematical operations in binary, but you can’t represent all numbers in binary like 0.3, which is a repeating number, and had the same issues as a number like 1/3 in decimal where you can’t avoid rounding errors
It’s worth noting that 1/3 is also a repeating number in binary. 0.01010101…
While 0.3 is in binary 0.0100110011001100…
I’m not sure what sort of point you think you’re making but 0.0100110011 in binary is only 0.065% off from 0.3, but how often would you organically encounter 0.3?
Many fractions in decimal are also repeating numbers or very long trailing numbers, I especially encounter a lot when working with time which is base 60.
A byte is eight bits.
That’s a matter of convention, not technical definition. A byte can be any number of bits, depending on hardware. For a while 6 bit bytes were common. RFC 791 refers to an 8 bit byte as an octet
RFC 791 refers to an 8 bit byte as an octet
French-speaking people do too it seems. On second hand websites in Switzerland you always see that some disks are listed for e.g. 250 Go and others for 250 GB, depending on the first language of the seller.
Yes. I am dumb.
I love the leak in the other room. Get ready to reset the counter folks!
And the fumes being vented inside that room.
It’s telling that their counter only goes up to a month
The author of this comic has a number of excellent coffee table compilations: https://www.tomgauld.com/comic-books-v2 (unaffiliated – I just like them :))
i like their style, very pleasant and original
I totally got that without the text bubble.








