In PostgreSQL, erfc()
is a mathematical function that provides the mathematical complementary error function, without loss of precision for large inputs. It returns 1 - erf(x)
.
The erfc()
function was introduced in PostgreSQL 16, which was released on September 14th 2023.