# coding=utf-8
import math


# # 去掉小数
# print(math.floor(6.78))
# print(math.trunc(6.78))
# # 进一
# print(math.ceil(6.78))


# # 绝对值
# print(math.fabs(-77))
# # 取余
# print(math.fmod(11, 3))
# # 求和
# print(math.fsum([1, 2, 3, 4, 5, 6, 7]))
# print(math.fsum((1, 2, 3, 4, 5, 6, 7)))
# # 最大公约数
# print(math.gcd(24, 16))
# # 勾股定律
# print(math.hypot(3, 4))
# # n的阶乘
# print(math.factorial(4))


# print(math.e)
# # e的多少次方
# print(math.exp(2))
# # e的多少次方减一
# print(math.expm1(2))
# # 返回a 乘2的b次方
# print(math.ldexp(1, 4))
# print(math.pow(3, 5))


# # 开平方根
# print(math.sqrt(100))
# print(math.log(16, 2))
# print(math.log(math.exp(5)))
# print(math.log10(100))
# print(math.log2(8))
# print(math.log1p(math.expm1(3)))


# print(math.pi)
# print(math.sin(math.pi / 6))
# print(math.cos(math.pi / 3))
# print(math.tan(math.pi / 4))
# # 将弧度制转成数字角度
# print(math.degrees(math.pi))
# # 反之
# print(math.radians(180))


# 不是数字返回true
print(math.isnan(100))
# 返回是不是无穷大的数
print(math.isfinite(100))
print(math.isinf(100))
