tan function

double tan (
  1. 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.

Implementation

external double tan(num radians);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-math/tan.html