v / vlib / math
Raw file | 9 loc (7 sloc) | 132 bytes | Latest commit hash 1cfc4198f
1module math
2
3fn JS.Math.cbrt(x f64) f64
4
5// cbrt calculates cubic root.
6[inline]
7pub fn cbrt(a f64) f64 {
8 return JS.Math.cbrt(a)
9}