I have an Mercator Projection Map:

And I try to calculate the Latitude from a specific Y-Point on the map. According to this article : http://paulbourke.net/geometry/transformationprojection/ the formula is as follow:
latitude = atan(exp(-2 * pi * y))
y = -1..1
I tried this using java code, but I do not succeed to get the expected result:
double southpoleLocation = 1;
double latSouthPole = Math.toDegrees(Math.atan(Math.exp(-2 * Math.PI * southpoleLocation )));
System.out.println(latSouthPole);
For the red circle (picture) I expected to get -90 as the latitude (degrees), but I get something near 0.
Can someone help me to get the correct latitude from a y coordination ?
A likely source of confusion is that cartographers and mathematicians use different coordinate systems. Cartographers measure latitude so that the latitude of the equator is zero degrees, whereas mathematicians measure latitude (sometimes called co-latitude) so that the latitude of the north pole is zero.