Nav apraksta

Stefan Karpinski e08651b8a9 Merge pull request #14 from sebastien-villemot/master 12 gadi atpakaļ
amd64 5e08d588a9 change licenses to reflect that the "Winning Strategies, Inc." code has been placed in the public domain 12 gadi atpakaļ
amos f7c5d2787a Add the amos library 12 gadi atpakaļ
arm 00e0e7e5ee Add Make.files for all architectures. 12 gadi atpakaļ
bsdsrc 1742d52791 remove advertising clause from files owned by UC Berkeley, since it was 12 gadi atpakaļ
i387 5e08d588a9 change licenses to reflect that the "Winning Strategies, Inc." code has been placed in the public domain 12 gadi atpakaļ
ia64 00e0e7e5ee Add Make.files for all architectures. 12 gadi atpakaļ
include e9661c36af WIN32 build fix 12 gadi atpakaļ
ld128 fed038b32f Remove Leftover Makefiles from old build system 12 gadi atpakaļ
ld80 c3d4e51cd8 Remove leftover test code 12 gadi atpakaļ
mips 00e0e7e5ee Add Make.files for all architectures. 12 gadi atpakaļ
powerpc 00e0e7e5ee Add Make.files for all architectures. 12 gadi atpakaļ
sparc64 00e0e7e5ee Add Make.files for all architectures. 12 gadi atpakaļ
src 4ebe327d24 fix comparison syntax in s_nan.c 12 gadi atpakaļ
test b9dbcf8247 update gitignore for WIN32 exe files 12 gadi atpakaļ
.gitignore 0df00dd0f7 initial attempt getting everything to build on windows 13 gadi atpakaļ
.mailmap f5d2bc53f9 Add mailmap 12 gadi atpakaļ
LICENSE.md e8bf368573 Include AMOS in OpenLibm. 12 gadi atpakaļ
Make.inc 1bbda18695 Inject FFLAGS, CFLAGS, LDFLAGS where missing 12 gadi atpakaļ
Makefile 1bbda18695 Inject FFLAGS, CFLAGS, LDFLAGS where missing 12 gadi atpakaļ
README.md e8bf368573 Include AMOS in OpenLibm. 12 gadi atpakaļ
Symbol.map 16b9264f9d Import entire msun from FreeBSD. 13 gadi atpakaļ

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.