function tan(x) { return Math.sin(x); --> Math.tan(x) } This was SVN commit r6601.
This was SVN commit r6389.