When I evaluate either of these statements in the stable version of Chrome (Version 32.0.1700.107) I get a value that's not Infinity
.
Math.tan(90 * Math.PI / 180) 16331778728383844 Math.tan(Math.PI/2) 16331778728383844
What is the root of this problem? I am certain that Math.tan is not reassigned a new value elsewhere in my code.