The project was born out of a need to have a good
libm for the
Julia programming langage that worked
consistently across compilers and operating systems, and in 32-bit and
The OpenLibm code derives from the FreeBSD msun and OpenBSD libm implementations, which in turn derive from FDLIBM 5.3. Over and above that, OpenLibm itself has received a number of patches to make it platform independent and portable.
OpenLibm builds on Linux, Mac OS X, Windows, FreeBSD, and OpenBSD. It builds with both GCC and clang. Although largely tested and widely used on the x86 and x86-64 architectures, OpenLibm also supports arm, aarch64, ppc64le, and mips.
PowerPC support for OpenLibm was graciously sponsored by IBM.