What? Why?
Comment on I predict that this post will get approximately 01000011100101100000000000000000
Ragdoll_X@lemmy.world 2 months ago
That’s the binary representation of 300 btw
imPastaSyndrome@lemm.ee 2 months ago
silverchase@sh.itjust.works 2 months ago
Each section of the binary number represents a different component needed to construct the number 300. It uses clever math to be able to represent decimals. It’s like asking you whether a number is positive or negative, then the position of the decimal point, then what the digits are.
Specifically…
The first 0 means the number is positive. The number formed by the next eight bits (the exponent) and the number from the remaining bits (the mantissa) multiply to get 300.
The exponent bits choose the value of N in the formula 2^N - 127^. For the mantissa, we start with the number 1, then each “1” bit starting from the left adds to it 0.5, then 0.25, and so on. Specifically, we have 2^8^×1.171875.
imPastaSyndrome@lemm.ee 2 months ago
Aaaaaaaaaghhhh bitwise arithmetic aaaaaahhhhffggffg it’s all coming back YOU DON’T KNOW WHAT YOU’VE UNLEASHED KHGHHAAAA
imPastaSyndrome@lemm.ee 2 months ago
But thank you for the explanation
Tower@lemm.ee 2 months ago
That was a very good guess!
elvith@feddit.org 2 months ago
Sigh, and I wanted to reply with
It’s over 01000110000011001010000000000000!
tdawg@lemmy.world 2 months ago
Man that’s a big factorial
bloubz@lemmygrad.ml 2 months ago
I have to chose between 9000 and Anakin, hard