| 関数 | 処理 |
| math.ceil(x) | xの上限 |
| math.comb(n,k) | nからkを選択する組み合わせ |
| math.copysign(x,y) | xにyの符号を適用する |
| math.fabs(x) | xの絶対値を返す。 |
| math.factorial(n) | nの階乗を返す。 |
| math.floor(x) | xの底を返す。等しいか最も大きい整数。 |
| math.fmod(x,y) | x%y モジュロを返す。 |
| math.frexp(x) | x == m * 2**e の (m,e)のペアを返す。 |
| math.fsum(iterable) | iterableの累積和を返す。 |
| math.gcd(*integers) | 最小公約数を返す。(9,18,3) => 3 |
| math.isclose(a,b,*) | a,bが近似値であればTrueを返す。 |
| math.isfinite(x) | xが無限大かNaNでなれば Trueを返す、それ以外は False。 |
| math.isinf(x) | xが正か負の無限大であれば、Trueを返す、それ以外は Falseを返す。 |
| math.isnan(x) | xがNaNであrば、Trueを返す、それ以外は Falseを返す。 |
| math.issqrt(x) | xの平方根の整数部分を返す。 |
| math.lcm(*integers) | 引数の最小公倍数を返す。(2,3,4,5) => 60 |
| math.ldexp(x,i) | x * (2**i) を返す。 |
| math.modf(x) | xの少数部分と整数部分を返す。(2.45) => (0.4500000000000002, 2.0) |
| math.nextafter(x,y) | xからyまでのxの次の浮動小数点の値を返す。 |
| math.perm(n,k) | n ! / (n-k) ! k<= n |
| math.prod(iterable,*) | TBD |
| math.remainder(x,y) | IEEE754形式の剰余。 x - n*y nは x/y に近い整数。 |
| math.trunc(x) | 少数部分を除いた数値を返す。 |
| math.ulp(x) | 浮動小数点 xの lsb(最も下位の桁のビット)の値を返す。 |
| math.cbrt() | -- see version |
| math.exp(x) | e ** x 自然対数の階乗 |
| math.exp2() | -- see version |
| math.expml(x) | exp(x) - 1 |
| math.log(x) | xの自然対数を返す。 |
| math.loglp(x) | 1+xの自然対数を返す。 |
| math.log2(x) | 2を底とするxの対数を返す。log(x,2) |
| math.log10(x) | 10を底とするxの対数を返す。log(x,10) |
| math.pow(x,y) | x **y を返す。 |
| math.sqrt(x) | xの平方根を返す。 |
| math.acos(x) | x の arc コサイン |
| math.asin(x) | xの arc サイン |
| math.atan(x) | xの arc タンジェント |
| math.atan2(y,x) | atan(y / x) |
| math.cos(x) | xのコサイン |
| math.dist(p,q) | p,q間のユークリッド距離 |
| math.hypot(*coodinates) | ユークリディアンノルム sqrt( sum(x**2 for x in coodinates)) . ベクトルの与えられた座標系での原点からの距離。 |
| math.sin(x) | xのサイン |
| math.tan(x) | xのタンジェント |
| math.degress(x) | xの角度をラジアンから度数に変換する。 |
| math.radians(x) | xの角度を度数からラジアンに変換する。 |
| math.acosh(x) | xの逆双曲コサイン |
| math.asinh(x) | xの逆双曲サイン |
| math.atanh(x) | xの逆双曲タンジェント |
| math.cosh(x) | xの双曲コサイン |
| math.sinh(x) | xの双曲サイン |
| math.tanh(x) | xの双曲タンジェント |
| math.erf(x) | xのエラー関数を返す。 |
| math.erfc(x) | xの補完エラー関数を返す。 |
| math.gamma(x) | xのガンマ関数を返す。 |
| math.lgamma(x) | xのガンマ関数の絶対値の自然対数を返す。 |