摘要: Lua5.1中数学库的所有函数如下表:math.pi 为圆周率常量 = 3.14159265358979323846 abs 取绝对值 math.abs(-15) 15 acos 反余弦函数 math.acos(0.5) 1.04719755 asin 反正弦函数 math.asin(0.5) 0. 阅读全文
posted @ 2016-10-31 13:12 赵武灵王 阅读(1490) 评论(0) 推荐(0) 编辑