709
10001 (mander.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] ziggurat@lemmy.world -2 points 1 month ago* (last edited 1 month ago)

So you can do all mathematical operations in binary, but you can't represent all numbers in binary like 0.3, which is a repeating number, and had the same issues as a number like 1/3 in decimal where you can't avoid rounding errors

It's worth noting that 1/3 is also a repeating number in binary. 0.01010101....

While 0.3 is in binary 0.0100110011001100...

[-] finitebanjo@lemmy.world 3 points 1 month ago* (last edited 1 month ago)

I'm not sure what sort of point you think you're making but 0.0100110011 in binary is only 0.065% off from 0.3, but how often would you organically encounter 0.3?

Many fractions in decimal are also repeating numbers or very long trailing numbers, I especially encounter a lot when working with time which is base 60.

this post was submitted on 17 Oct 2024
709 points (99.0% liked)

Science Memes

11068 readers
2792 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