677
submitted 11 months ago by FauxPseudo@lemmy.world to c/skeptic@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] cynar@lemmy.world 6 points 11 months ago

However, if you stuff them into an int at the last minute, you can get that effect.

Under the hood, it's floats. On the output, it's ints.

It's obvious and silly with small examples. The problem can creep in when you are using larger libraries or frameworks.

this post was submitted on 27 Nov 2023
677 points (96.3% liked)

Skeptic

1287 readers
63 users here now

A community for Scientific Skepticism:

Scientific skepticism or rational skepticism, sometimes referred to as skeptical inquiry, is a position in which one questions the veracity of claims lacking empirical evidence.

Do not confuse this with General Skepticism, Philosophical Skepticism, or Denialism.

Things we like:

Things we don't like:

Other communities of interest:

"A wise man proportions his belief to the evidence." -David Hume

founded 1 year ago
MODERATORS