[GLib] Updated maths.