v / vlib / math / tan.c.v
9 lines · 7 sloc · 128 bytes · 757929392e0e7a75fc1272116460981e589737d5
Raw
1module math
2
3fn C.tanf(x f32) f32
4
5// tanf calculates tangent. (float32)
6@[inline]
7pub fn tanf(a f32) f32 {
8 return C.tanf(a)
9}
10