this post was submitted on 19 Dec 2024
610 points (96.8% liked)

Science Memes

11414 readers
1975 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 38 points 2 days ago* (last edited 2 days ago) (7 children)

For those who are curious, that's the IEEE 754 representation of the number 300.

[–] [email protected] 2 points 2 days ago (3 children)
[–] silverchase 12 points 2 days ago* (last edited 2 days ago) (2 children)

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.

[–] [email protected] 2 points 2 days ago

Aaaaaaaaaghhhh bitwise arithmetic aaaaaahhhhffggffg it's all coming back YOU DON'T KNOW WHAT YOU'VE UNLEASHED KHGHHAAAA

[–] [email protected] 1 points 2 days ago

But thank you for the explanation

load more comments (3 replies)