It also has a max of 31 days possible. Which has… implications.
Comment on 10001
cobysev@lemmy.world 1 year ago
For anyone who doesn’t want to do the conversion, that’s 17 days.
chuckleslord@lemmy.world 1 year ago
Trainguyrom@reddthat.com 1 year 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 1 year ago
🤔 … What implications? ಠ_ಠ
fossphi@lemm.ee 1 year ago
They must sacrifice an undergrad ok the 32nd day
PumpkinSkink@lemmy.world 1 year 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 1 year ago
Unless it’s a signed integer, then it’s -1 and they’re expecting something…
DacoTaco@lemmy.world 1 year ago
A 5 bit long signed integer? What kind of weird system you using ? :p
gens@programming.dev 1 year ago
Two’s complement
phoenixz@lemmy.ca 11 months ago
Because a 5 bit unsigned integer is so much better? :p
computergeek125@lemmy.world 1 year 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 1 year ago
Or 11 in hexadecimal
scholar@lemmy.world 1 year ago
B is 11 in hex though?
deadcade@lemmy.deadca.de 1 year ago
As in, 0x11 is 17 in decimal.
humblebun@sh.itjust.works 1 year ago
I did and I regret it
yardy_sardley@lemmy.ca 1 year ago
Or -15 days
Dabundis@lemmy.world 1 year ago
Ominous
carpelbridgesyndrome@sh.itjust.works 1 year 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 1 year 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 1 year ago
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.swag_money@lemmy.world 1 year 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?