math.erfc()
is stands for “error function complement” and returns the complementary error function at the given real argument.
math.erfc(x)
Where, parameter x
is a real number. If x
is not a real number, a TypeError
is raised.
The function returns a floating point value which is the value of the error function at x
.
import math
print(math.erf(0.01))
print(math.erf(0.5))
print(math.erf(2))
print(math.erf(3.142))
print(math.erf(math.e))