Method: Math.tan
- Defined in:
- lib/source/ruby.rb
.tan(x) ⇒ Object
call-seq:
Math.tan(x) -> numeric
Computes the tangent of x (in radians) and returns its value.
1715 1716 1717 |
# File 'lib/source/ruby.rb', line 1715 def self.tan(x) `Math.tan(x)` end |