Or -15 days
Comment on 10001
cobysev@lemmy.world 1 day ago
For anyone who doesn’t want to do the conversion, that’s 17 days.
yardy_sardley@lemmy.ca 1 day ago
Dabundis@lemmy.world 1 day ago
Ominous
swag_money@lemmy.world 11 hours 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 8 hours 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 7 hours 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?
carpelbridgesyndrome@sh.itjust.works 1 day ago
Mmm yes. 5 bit two’s complement.
I shouldn’t make fun of it we’ve definitly made some ISA that weird.
phoenixz@lemmy.ca 1 day ago
Unless it’s a signed integer, then it’s -1 and they’re expecting something…
DacoTaco@lemmy.world 12 hours ago
A 5 bit long signed integer? What kind of weird system you using ? :p
gens@programming.dev 11 hours ago
Two’s complement
Entropywins@lemmy.world 1 day ago
Or 11 in hexadecimal
scholar@lemmy.world 1 day ago
B is 11 in hex though?
deadcade@lemmy.deadca.de 23 hours ago
As in, 0x11 is 17 in decimal.
humblebun@sh.itjust.works 23 hours ago
I did and I regret it
chuckleslord@lemmy.world 1 day ago
It also has a max of 31 days possible. Which has… implications.
Trainguyrom@reddthat.com 1 day 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 23 hours ago
🤔 … What implications? ಠ_ಠ
fossphi@lemm.ee 13 hours ago
They must sacrifice an undergrad ok the 32nd day
PumpkinSkink@lemmy.world 8 hours ago
This is actually how chromatography works. The mobile phase is 0.1% formic acid and 0.3% blood of the innocent.