There are four math functions which are pretty complex. - `math.erf` - `math.erfc` - `math.gamma` - `math.lgamma` They are implemented in cpython, as can be seen here: https://github.com/python/cpython/blob/master/Modules/mathmodule.c#L113 The documentation is listed here: https://docs.python.org/3/library/math.html#special-functions In rust python, they must be implemented in `vm/src/stdlib/math.rs`.