Sem descrição

Viral B. Shah e8bf368573 Include AMOS in OpenLibm. há 12 anos atrás
amd64 87ce7cedda Fix build on amd64 linux há 12 anos atrás
arm 16b9264f9d Import entire msun from FreeBSD. há 13 anos atrás
bsdsrc fed038b32f Remove Leftover Makefiles from old build system há 12 anos atrás
i387 87ce7cedda Fix build on amd64 linux há 12 anos atrás
ia64 1b13e29e37 Use our headers on linux há 12 anos atrás
include 87ce7cedda Fix build on amd64 linux há 12 anos atrás
ld128 fed038b32f Remove Leftover Makefiles from old build system há 12 anos atrás
ld80 c3d4e51cd8 Remove leftover test code há 12 anos atrás
mips 16b9264f9d Import entire msun from FreeBSD. há 13 anos atrás
powerpc 16b9264f9d Import entire msun from FreeBSD. há 13 anos atrás
sparc64 1b13e29e37 Use our headers on linux há 12 anos atrás
src fed038b32f Remove Leftover Makefiles from old build system há 12 anos atrás
test 820c38cbd2 git ignore test/test-{float,double}.dSYM há 12 anos atrás
.gitignore 0df00dd0f7 initial attempt getting everything to build on windows há 13 anos atrás
.mailmap f5d2bc53f9 Add mailmap há 12 anos atrás
LICENSE.md e8bf368573 Include AMOS in OpenLibm. há 12 anos atrás
Make.inc e8bf368573 Include AMOS in OpenLibm. há 12 anos atrás
Makefile e8bf368573 Include AMOS in OpenLibm. há 12 anos atrás
README.md e8bf368573 Include AMOS in OpenLibm. há 12 anos atrás
Symbol.map 16b9264f9d Import entire msun from FreeBSD. há 13 anos atrás

README.md

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:

  1. make or make USEGCC=1 to build with GCC.
  2. make USECLANG=1 to build with clang.