Fork of the OpenLibm math library with fx-9860G and fx-CG 50 support.
Go to file
Viral B. Shah 0e10872a99 Merge pull request #25 from JuliaLang/sf/sincos
sincos()
2013-07-16 00:13:54 -07:00
Faddeeva added Faddeeva package from http://ab-initio.mit.edu/Faddeeva for complex error functions 2012-12-20 14:35:14 -05:00
amd64 fix calling convention on win64, mostly passing the numerical tests 2013-07-11 20:19:52 -04:00
amos Reinstate amos for now, since slatec is giving some trouble. 2012-12-31 17:18:50 -05:00
arm Add Make.files for all architectures. 2012-12-11 15:09:10 +05:30
bsdsrc remove advertising clause from files owned by UC Berkeley, since it was 2012-11-23 18:47:15 -05:00
i387 fix amd64 asm syntax for windows 2013-03-02 22:50:35 -05:00
ia64 Add Make.files for all architectures. 2012-12-11 15:09:10 +05:30
include WIN32 build fix 2012-11-09 02:25:25 -05:00
ld80 Remove leftover test code 2012-05-25 21:38:58 -04:00
ld128 Remove Leftover Makefiles from old build system 2012-05-26 17:06:20 -04:00
mips Add Make.files for all architectures. 2012-12-11 15:09:10 +05:30
powerpc Add Make.files for all architectures. 2012-12-11 15:09:10 +05:30
sparc64 Add Make.files for all architectures. 2012-12-11 15:09:10 +05:30
src Minor formatting to make sin/cos easier to read 2013-07-15 18:29:30 -07:00
test Merge pull request #25 from JuliaLang/sf/sincos 2013-07-16 00:13:54 -07:00
.gitignore initial attempt getting everything to build on windows 2012-04-08 20:03:36 -04:00
.mailmap Add mailmap 2012-08-24 20:53:18 +05:30
LICENSE.md Include AMOS in OpenLibm. 2012-10-29 15:00:54 +05:30
Make.inc Add cpow from OpenBSD 2013-07-14 18:33:56 +05:30
Makefile Build libopenlibm-extras separately 2012-12-31 17:01:08 -05:00
Makefile.extras Reinstate amos for now, since slatec is giving some trouble. 2012-12-31 17:18:50 -05:00
README.md Include AMOS in OpenLibm. 2012-10-29 15:00:54 +05:30
Symbol.map Import entire msun from FreeBSD. 2011-12-15 11:29:35 +05:30

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.