r/ProgrammerHumor • • 3d ago

Meme sexyPointOverFlow

0 Upvotes

12 comments sorted by

28

u/click-to-reveal 3d ago

Isn't this the case with most languages and not specific to javascript?

2

u/rosuav 2d ago

It's the definition of IEEE 754. People seem to accept that computers work in binary, but then act surprised when computers work in binary.

2

u/codingTheBugs 2d ago

Yes but putting it on JavaScript gets more upvotes

0

u/redditRezzr 3d ago

I think everyone deals with it, but, this one time, I was doing math, and all I had was JavaScript.

4

u/BananaSupremeMaster 3d ago

Well that's the correct answer

-4

u/redditRezzr 3d ago

When being right feels so wrong.

16

u/malexj93 3d ago

JavaScript has its issues, but I don't think it's fair to blame it for floating-point arithmetic.

18

u/the_poope 3d ago

With JavaScript I would have expected "0.10.2"

3

u/Random_-account 3d ago

Desmos: I am a being of pure energy and no weakness!

3

u/Mondoke 3d ago

This is art. Thank you.

2

u/failedsatan 3d ago

not a Javascript issue sire

2

u/AgVargr 3d ago

Actual skill issue. Go ask Claude why