2018年4月19日

python math模块

摘要: import math math. ceil:取大于等于x的最小的整数值,如果x是一个整数,则返回x copysign:把y的正负号加到x前面,可以使用0 cos:求x的余弦,x必须是弧度 degrees:把x从弧度转换成角度 e:表示一个常量 exp:返回math.e,也就是2.71828的x次方 阅读全文

posted @ 2018-04-19 11:23 Guo磊 阅读(157) 评论(0) 推荐(0) 编辑

导航