aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/math/tan.c.v
blob: af8e1ca8c0351e5a6dc40fb0c7c850baa66b4e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module math

fn C.tan(x f64) f64

fn C.tanf(x f32) f32

// tan calculates tangent.
[inline]
pub fn tan(a f64) f64 {
	return C.tan(a)
}

// tanf calculates tangent. (float32)
[inline]
pub fn tanf(a f32) f32 {
	return C.tanf(a)
}