math.pi --3.145926...... math.e --2.72...... math.ceil(x) --对x向上取整 math.floor(x) --对x向下取值整 math.pow(x,y) --x的y次幂 math.log(x) --自然对数 math.Log10(x) --常用对数 math.squrt(x) --x的算术平方根 math.exp(x) --x的e次幂 math.degrees(x) --将弧度值x转化成角度值 math.radians(x) --将角度值转化成弧度值 math.sin(x) --x的正弦值 math.cos(x) --x的余弦值 math.tan(x) --x的正切值 math.asin(x) --x的反正弦值 math.acos(x) --x的反余弦值 math.atan(x) --x的反正切值
python math库基本函数
最新推荐文章于 2024-04-01 12:27:20 发布