Cephes Mathematical Library (C sources) provides mathematical physics functions and related items in the C programming language.
The new C language standard C9X, has complex variable types that are supported in this library and by the GNU C compiler.
Partial library contents include: elementary functions (such as log, exp, sin, and cos); Gamma, psi, dilograithm, Airy, Bessel, hypergeometric, Struve; elliptic functions; exponential, sine and cosine, hyperbolic, Fresnel integrals; probability integrals and their inverses; Gaussian, Poisson, F, Chi-square, gamma, Student's, binomial, negative binomial, Kolmogorov-Smirnov Arithmetic on polynomials; rationals; extended precision floating point; complex arithmetic and elementary functions. There is also a C++ class for the extended precision arithmetic.
This DOS-specific distribution includes configurations for Microsoft Visual C, DJGPP, or GNUWIN32 compilers, and a DOS executable 100-digit calculator program.