v / vlib / math / cbrt.js.v
9 lines · 7 sloc · 133 bytes · 757929392e0e7a75fc1272116460981e589737d5
Raw
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}
10