It also has a max of 31 days possible. Which has… implications.
Comment on 10001
cobysev@lemmy.world 2 months ago
For anyone who doesn’t want to do the conversion, that’s 17 days.
chuckleslord@lemmy.world 2 months ago
Trainguyrom@reddthat.com 2 months ago
Among many other duties I manage the safety and claims database for an outsourced industrial cleaning company and let me tell you, some of the plants my company works struggle to make it a week without an accident, meanwhile some will go years without an accident. We also have one plant which had its last accident during the Bush Administration. Its absolutely wild how much safety can vary from one industrial facility to another
Slovene@feddit.nl 2 months ago
🤔 … What implications? ಠ_ಠ
fossphi@lemm.ee 2 months ago
They must sacrifice an undergrad ok the 32nd day
PumpkinSkink@lemmy.world 2 months ago
This is actually how chromatography works. The mobile phase is 0.1% formic acid and 0.3% blood of the innocent.
phoenixz@lemmy.ca 2 months ago
Unless it’s a signed integer, then it’s -1 and they’re expecting something…
DacoTaco@lemmy.world 2 months ago
A 5 bit long signed integer? What kind of weird system you using ? :p
gens@programming.dev 2 months ago
Two’s complement
phoenixz@lemmy.ca 1 month ago
Because a 5 bit unsigned integer is so much better? :p
computergeek125@lemmy.world 1 month ago
Only if you’re using a sign bit rather than two’s compliment (a sign bit allows for two representations of 0)
Entropywins@lemmy.world 2 months ago
Or 11 in hexadecimal
scholar@lemmy.world 2 months ago
B is 11 in hex though?
deadcade@lemmy.deadca.de 2 months ago
As in, 0x11 is 17 in decimal.
humblebun@sh.itjust.works 2 months ago
I did and I regret it
yardy_sardley@lemmy.ca 2 months ago
Or -15 days
Dabundis@lemmy.world 2 months ago
Ominous
carpelbridgesyndrome@sh.itjust.works 2 months ago
Mmm yes. 5 bit two’s complement.
I shouldn’t make fun of it we’ve definitly made some ISA that weird.
swag_money@lemmy.world 2 months ago
what’s the general rule for translating negatives from binary? did you just do like 17 - 2 • (-1) or something?
yardy_sardley@lemmy.ca 2 months ago
I used what known as 2’s compliment. Take the complement (flip all the bits - here that would give you
01110
which is 14) then add 1.swag_money@lemmy.world 2 months ago
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?