projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7ca7daea892a00f63bbe066e6fa8c956098432aa
[yaffs-website]
/
modules
/
es6.math.cbrt.js
1
// 20.2.2.9 Math.cbrt(x)
2
var $export = require('./_export')
3
, sign = require('./_math-sign');
4
5
$export($export.S, 'Math', {
6
cbrt: function cbrt(x){
7
return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
8
}
9
});