this post was submitted on 02 Jul 2025
707 points (99.0% liked)

Science Memes

15536 readers
2878 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
[–] bus_factor@lemmy.world 12 points 1 day ago* (last edited 1 day ago)

There's less and less reason to do it (and it's never 5). On systems without floating point you might want to round it a bit, but only if the specific thing you're doing allows it, and even then you're more likely to do a fixed-point approach by using e.g. 314 and dividing by 100 later, or adjusting that value a bit so you can divide by 128 via bitshift if you're on a chip where division is expensive. However, in 2025 you almost certainly should have picked a chip with an FPU if you're doing trigonometry.

And while rounding pi to 3 or 4 is certainly just a meme, there are other approximations which are used, like small-angle approximations, where things like sin(x) can be simplified to just x for a sufficiently small x.