v / vlib / math / tan.js.v
9 lines · 7 sloc · 126 bytes · 757929392e0e7a75fc1272116460981e589737d5
Raw
1module math
2
3fn JS.Math.tan(x f64) f64
4
5// tan calculates tangent.
6@[inline]
7pub fn tan(a f64) f64 {
8 return JS.Math.tan(a)
9}
10