Math.pow()实现开任意次方根

Math.pow(x,1/y)表示对x开y次方根,比如Math.pow(x,1/2)是求x的平方根,相当于Math.sqrt(x)

posted on 2017-06-16 13:08  灵剑丹心  阅读(422)  评论(0编辑  收藏  举报

导航