2023-06-25 Python - math.erfc(x):相補誤差関数 Python3 mathモジュール 概要 インポート 実行結果 表示イメージ 概要erfc(x) 相補誤差関数 (記号:「erfc」) 1-xが桁落ちのとき(x=大きな数) に利用。 mathモジュール インポート import math 実行結果 import math print(math.erfc(1)) print(math.erfc(0)) print(math.erfc(-1)) 表示イメージ 0.15729920705028513 1.0 1.842700792949715