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

fn C.erf(x f64) f64

fn C.erfc(x f64) f64

// erf computes the error function value
[inline]
pub fn erf(a f64) f64 {
	return C.erf(a)
}

// erfc computes the complementary error function value
[inline]
pub fn erfc(a f64) f64 {
	return C.erfc(a)
}