I figured it out, Google uses an approximate value for pi, not an exact value. So, the value of tan(pi/2) ends up being a huge number, as sin(pi/2) approaches 1, and cos(pi/2) approaches 0.
Context: tan(pi/2) is sin(pi/2)/cos(pi/2), with cos(pi/2) equal to 0. The answer to tan(pi/2) is, in fact, undefined, but for some odd reason Google puts it as the enormous number in the meme.
no joke guys, i got to the second turn within 23 hours and 12 minutes of trial and error, has anyone even got here? i rlly hope i broke the glitchless world record in progress