InvalidOperationException | x is signaling NaN or ±∞ |
UnderflowException | result is too small to be represented |
OverflowException | result is too big to be represented |
InexactException | the result is inexact |
x | tan(x) |
---|---|
NaN | NaN |
±∞ | NaN |
-π/2 | -∞ |
-π/3 | -√3 |
-π/4 | -1.0 |
-π/6 | -1/√3 |
±0.0 | +0.0 |
+π/6 | +1/√3 |
+π/4 | +1.0 |
+π/3 | +√3 |
+π/2 | +∞ |
Returns tangent of x.