e08651b8a9
Patch currently applied to the Debian package |
||
---|---|---|
amd64 | ||
amos | ||
arm | ||
bsdsrc | ||
i387 | ||
ia64 | ||
include | ||
ld80 | ||
ld128 | ||
mips | ||
powerpc | ||
sparc64 | ||
src | ||
test | ||
.gitignore | ||
.mailmap | ||
LICENSE.md | ||
Make.inc | ||
Makefile | ||
README.md | ||
Symbol.map |
OpenLibm
OpenLibm is an effort to have a high quality standalone LIBM library. It is meant to be used standalone in applications and programming language implementations.
OpenLibm also includes the AMOS library from Netlib, which is a portable package for Bessel Functions of a Complex Argument and Nonnegative Order. AMOS contains subroutines for computing Bessel functions and Airy functions.
OpenLibm builds on Linux, Mac OS X, and Windows, and with little effort, should build on FreeBSD as well. It builds with both, GCC and clang.
The OpenLIBM code derives from the FreeBSD msun implementation, which in turn derives from FDLIBM 5.3. As a result, it has a number of fixes and updates that have accumulated over the years in msun, and also optimized assembly versions of many functions.
Build instructions:
make
ormake USEGCC=1
to build with GCC.make USECLANG=1
to build with clang.