this post was submitted on 30 Jul 2026
179 points (97.9% liked)

Memes

56837 readers
846 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] pleiades@lemmy.ml 1 points 1 month ago (1 children)

Funny meme, never got why they used a bias instead of two's complement for the exponent though

[–] CausticFlames@sopuli.xyz 5 points 1 month ago (1 children)

they could have used two’s complement for the exponent, but the biased exponent is objectively a better encoding for what floating point hardware needs to do.

This is paraphrased like mad, but basically that means hardware can compare exponent fields as plain unsigned integers. With twos complement, unsigned comparison says 255 > 1, even though -1 < 1. So every comparison would need special signed comparison logic.

[–] pleiades@lemmy.ml 1 points 1 month ago

Gotcha, very cool!