cl-cerf is a CFFI wrapper to the libcerf library for complex error functions: https://github.com/ghollisjr/cl-cerf