this post was submitted on 15 Jan 2024
83 points (98.8% liked)

Comics

453 readers
1 users here now

A community for sharing comics related to programming

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 10 months ago
MODERATORS
83
submitted 10 months ago* (last edited 10 months ago) by mac to c/comics
 

Transcript:

Cueball: Hey, check it out: eπ − π is 19.999099979. That's weird.
Black Hat: Yeah. That's how I got kicked out of the ACM in college.
Cueball: ...what?
Black Hat: During a competition, I told the programmers on our team that e^π − π was a standard test of floating-point handlers -- it would come out to 20 unless they had rounding errors.
Cueball: That's awful.
Black Hat: Yeah, they dug through half their algorithms looking for the bug before they figured it out.

Hover text:

Also, I hear the 4th root of (9^2 + 19^2/22) is pi.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 10 months ago

Explained for anyone interested