Ei kuvausta

Viral B. Shah 320de7faca Remove makefile for openlibm-extras 11 vuotta sitten
amd64 0affa5be19 Enable stack protection in all .S files 11 vuotta sitten
arm 00e0e7e5ee Add Make.files for all architectures. 12 vuotta sitten
bsdsrc ec41733ce8 add DLLEXPORT to bsdsrc files 11 vuotta sitten
i387 0affa5be19 Enable stack protection in all .S files 11 vuotta sitten
ia64 0affa5be19 Enable stack protection in all .S files 11 vuotta sitten
include e9661c36af WIN32 build fix 12 vuotta sitten
ld128 18f475de56 add DLLEXPORT to i387 and amd64 assembly (win32 target) and ld80/ld128 files 11 vuotta sitten
ld80 18f475de56 add DLLEXPORT to i387 and amd64 assembly (win32 target) and ld80/ld128 files 11 vuotta sitten
mips 00e0e7e5ee Add Make.files for all architectures. 12 vuotta sitten
powerpc 00e0e7e5ee Add Make.files for all architectures. 12 vuotta sitten
sparc64 0affa5be19 Enable stack protection in all .S files 11 vuotta sitten
src 9ca11f20c6 updates to s_round.c from FreeBSD 11 vuotta sitten
test 0e10872a99 Merge pull request #25 from JuliaLang/sf/sincos 11 vuotta sitten
.gitignore 0df00dd0f7 initial attempt getting everything to build on windows 13 vuotta sitten
.mailmap f5d2bc53f9 Add mailmap 12 vuotta sitten
LICENSE.md e8bf368573 Include AMOS in OpenLibm. 12 vuotta sitten
Make.inc d28fae9774 Remove amos and Faddeeva - they are now in openspecfun 11 vuotta sitten
Makefile d28fae9774 Remove amos and Faddeeva - they are now in openspecfun 11 vuotta sitten
README.md e8bf368573 Include AMOS in OpenLibm. 12 vuotta sitten
Symbol.map 16b9264f9d Import entire msun from FreeBSD. 13 vuotta sitten

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.