Ed Schouten d07820351b Rename the fenv headers.
I guess the idea would be to eventually also install all of the
openlibm*.h headers, instead of just openlibm.h. Make openlibm_fenv.h
suitable for this purpose by moving all of the $ARCH/fenv.h headers next
to it.

We actually need this change to make OPENLIBM_USE_HOST_FENV_H work.
Right now it's still broken, because the "#include <fenv.h>" performed
by openlibm_fenv.h still pulls in $ARCH/fenv.h as $ARCH/ is added to the
compiler include path.
2015-01-10 10:21:57 +01:00
2015-01-10 10:21:57 +01:00
2015-01-10 10:21:57 +01:00
2015-01-10 10:21:57 +01:00
2015-01-10 10:21:57 +01:00
2014-06-20 10:08:16 -04:00
2012-08-24 20:53:18 +05:30
2015-01-05 11:36:43 +00:00
2014-12-05 00:44:29 +05:30
2015-01-06 21:26:48 -08:00
2014-05-19 15:30:10 +01:00
2015-01-05 23:48:29 +05:30
2011-12-15 11:29:35 +05:30

OpenLibm

Build Status

OpenLibm is an effort to have a high quality, portable, standalone C mathematical library (libm). It can be used standalone in applications and programming language implementations.

The project was born out of a need to have a good libm for the Julia programming langage that worked consistently across compilers and operating systems, and in 32-bit and 64-bit environments.

History

The OpenLibm code derives from the FreeBSD msun and OpenBSD libm implementations, which in turn derives from FDLIBM 5.3. As a result, it includes a number of fixes and updates to FDLIBM that have accumulated over the years in msun, and optimized versions of many functions.

Platform support

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. Although largely tested on x86, it also includes experimental support for ARM. The original msun also includes support for mips, sparc64, powerpc, ia64, and alpha. These are present in the OpenLibm source tree, but no attempt has been made to build any of these.

Build instructions

  1. make or make USEGCC=1 to build with GCC. This is the default on Linux and Windows.
  2. make USECLANG=1 to build with clang. This is the default on OS X.
S
Description
No description provided
Readme 4.4 MiB
Languages
C 93.6%
Assembly 4.2%
CMake 1.4%
Makefile 0.3%
PHP 0.3%
Other 0.2%