Fork of the OpenLibm math library with fx-9860G and fx-CG 50 support.
Go to file
Viral B. Shah 876c3384a1 Merge pull request #47 from JuliaLang/headers
Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/$(ARCH)
2014-04-06 14:09:16 +05:30
amd64 work around msvc bug where .model must be on its own line or it forgets about it 2014-03-18 22:03:14 -04:00
arm Add Make.files for all architectures. 2012-12-11 15:09:10 +05:30
bsdsrc add DLLEXPORT to bsdsrc files 2013-08-04 10:04:16 -04:00
i387 work around msvc bug where .model must be on its own line or it forgets about it 2014-03-18 22:03:14 -04:00
ia64 Enable stack protection in all .S files 2013-12-21 21:19:54 +01:00
include add more windows compatibility definitions 2014-03-18 21:22:51 -04:00
ld80 add DLLEXPORT to i387 and amd64 assembly (win32 target) and ld80/ld128 files 2013-08-03 05:52:19 -04:00
ld128 add DLLEXPORT to i387 and amd64 assembly (win32 target) and ld80/ld128 files 2013-08-03 05:52:19 -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 Enable stack protection in all .S files 2013-12-21 21:19:54 +01:00
src Fix missing includes 2014-03-30 22:53:05 +02:00
test Merge pull request #25 from JuliaLang/sf/sincos 2013-07-16 00:13:54 -07:00
.gitignore hide versioned libraries from git 2014-01-13 01:14:22 -05:00
.mailmap Add mailmap 2012-08-24 20:53:18 +05:30
LICENSE.md Update license and readme. 2013-12-25 08:49:44 +05:30
Make.inc Update Make.inc 2014-03-12 09:48:49 +00:00
Makefile Merge pull request #47 from JuliaLang/headers 2014-04-06 14:09:16 +05:30
README.md Update license and readme. 2013-12-25 08:49:44 +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 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.