Fix precision loss of ln(e^1) (fixes bug 711766)

ln(e^1) calculated slightly more than 1, which means that some things were broken,
for example e^(i pi).

https://bugzilla.gnome.org/show_bug.cgi?id=711766