/Dart 2

tan function

double tan (num radians)

Converts radians to a double and returns the tangent of the value.

The tangent function is equivalent to sin(radians)/cos(radians) and may be infinite (positive or negative) when cos(radians) is equal to zero. If radians is not a finite number, the result is NaN.


external double tan(num radians);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.