xkcd #217: e to the pi Minus pi (31 Jan 2007) - eviltoast

cross-posted from: https://programming.dev/post/8653164


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 (92 + 192/22) is pi.

  • Thoth19@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    This is totally a conversation that would happen in real life. I’ve watched a friend of mine try to convince someone who had a bit much to drink that the primes are closed under multiplication for an hour. Absolutely hysterical