毛远新的后代:math.aqrt

来源:百度文库 编辑:中科新闻网 时间:2024/05/13 00:55:21
for(var i=2;i<Math.sqrt(x);i++)
中的Math.sqrt是什么意思呢

对x开方

math是数学函数类
sqrt是平方函数

是C# 中的语言 对x开方
System.Math.sqrt( x)