1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/math/erf.c.v
2021-08-23 00:35:28 +03:00

18 lines
260 B
V

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)
}