this post was submitted on 22 Dec 2023
188 points (96.1% liked)

STOP DOING SCIENCE

413 readers
1 users here now

A community for memes like this.

Not at all affiliated with the subreddit, I just shamelessly stole the name.

Rules:

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago

I feel like a lot of conditionals involving floats make more sense if you convert it to an integer and do bitwise operations lmao. Like to check if something is a real number just check to see if the exponent is not in the space used by infinities and nans