home::buildo....3::man::cerf(3)

hey bestie πŸ’– welcome to the page for home::buildo....3::man::cerf(3) from the libcerf manual β€” we're about to get into complex error functions and honestly? iconic math energy.

✨ NAME ✨

cerf, cerfc β€” the complex error functions. yes, both of them, and yes they're besties 🫢

🌸 SYNOPSIS 🌸

#include <cerf.h>

double _Complex cerf ( double _Complex z );

double _Complex cerfc ( double _Complex z );

πŸ’… DESCRIPTION πŸ’…

okay so cerf is literally the complex version of the error function, and the formula is:

erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(-t*t) dt

then there's the complementary complex error function cerfc, defined as:

erfc(z) = 1-cerf(z)

that's the whole vibe: one function, its complement, no cap ✨

πŸ¦‹ SEE ALSO πŸ¦‹

the computations are based on Faddeeva's function w_of_z(3) β€” main character reference fr.

other complex error functions in libcerf:

the real error function comes with recent versions of glibc, as requested by the C99 standard: erf(3).

Homepage: http://apps.jcns.fz-juelich.de/libcerf

πŸŽ€ AUTHORS πŸŽ€

  • Steven G. Johnson, http://math.mit.edu/~stevenj, Massachusetts Institute of Technology β€” researched the numerics, and implemented the Faddeeva function.
  • Joachim Wuttke <j.wuttke@fz-juelich.de>, Forschungszentrum Juelich β€” reorganized the code into a library, and wrote this man page.

please report bugs to the authors 🫢

πŸ‘‘ COPYING πŸ‘‘

  • Copyright (c) 2012 Massachusetts Institute of Technology
  • Copyright (c) 2013 Forschungszentrum Juelich GmbH

Software: MIT License.

This documentation: Creative Commons Attribution Share Alike.

xoxo πŸ’œ this page says perl v5.42.2 and is dated 2026-02-15 β€” footer info delivered with love. periodt.

πŸ“¦ where this page comes from