Open valery-kirichenko opened 9 years ago
The floating point arithmetic is used to evaluate the expressions. Thus, calculations always contain some "calculation" error which is defined by precision of double float numbers in Java (16 digits). As tan(pi/2) is evaluated numerically the result is a big number "close enough" to infinity.
This should be closed. I can't reproduce this. tan(pi/2) evaluates to ∞
Why so?