mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-29 13:03:42 +01:00
revert newline changes from previous commit
following discussion at JuliaLang/openlibm#64
This commit is contained in:
parent
e27d5a2c61
commit
85a0f204c3
1 changed files with 21 additions and 25 deletions
46
README.md
46
README.md
|
@ -2,38 +2,34 @@
|
||||||
|
|
||||||
OpenLibm is an effort to have a high quality, portable, standalone
|
OpenLibm is an effort to have a high quality, portable, standalone
|
||||||
C mathematical library ([`libm`](http://en.wikipedia.org/wiki/libm)).
|
C mathematical library ([`libm`](http://en.wikipedia.org/wiki/libm)).
|
||||||
It can be used standalone in applications
|
It can be used standalone in applications and programming language
|
||||||
and programming language implementations.
|
implementations.
|
||||||
|
|
||||||
The project was born out of a need to have a good `libm`
|
The project was born out of a need to have a good `libm` for the
|
||||||
for the [Julia programming langage](http://www.julialang.org)
|
[Julia programming langage](http://www.julialang.org) that worked
|
||||||
that worked consistently across compilers and operating systems,
|
consistently across compilers and operating systems, and in 32-bit and
|
||||||
and in 32-bit and 64-bit environments.
|
64-bit environments.
|
||||||
|
|
||||||
### History
|
### History
|
||||||
|
|
||||||
The OpenLibm code derives from the
|
The OpenLibm code derives from the [FreeBSD
|
||||||
[FreeBSD msun](http://svnweb.freebsd.org/base/head/lib/msun/) implementation,
|
msun](http://svnweb.freebsd.org/base/head/lib/msun/) implementation,
|
||||||
which in turn derives from [FDLIBM 5.3](http://www.netlib.org/fdlibm/).
|
which in turn derives from [FDLIBM
|
||||||
As a result, it includes a number of fixes and updates to FDLIBM
|
5.3](http://www.netlib.org/fdlibm/). As a result, it includes a number
|
||||||
that have accumulated over the years in `msun`,
|
of fixes and updates to FDLIBM that have accumulated over the years in
|
||||||
and optimized versions of many functions.
|
`msun`, and optimized versions of many functions.
|
||||||
|
|
||||||
### Platform support
|
### Platform support
|
||||||
|
|
||||||
OpenLibm builds on Linux, Mac OS X, and Windows,
|
OpenLibm builds on Linux, Mac OS X, and Windows, and with little
|
||||||
and with little effort, should build on FreeBSD as well.
|
effort, should build on FreeBSD as well. It builds with both GCC and
|
||||||
It builds with both GCC and clang.
|
clang. Although largely tested on x86, it also includes experimental
|
||||||
Although largely tested on x86,
|
support for ARM. The original `msun` also includes support for mips,
|
||||||
it also includes experimental support for ARM.
|
sparc64, powerpc, ia64, and alpha. These are present in the OpenLibm
|
||||||
The original `msun` also includes support for
|
source tree, but no attempt has been made to build any of these.
|
||||||
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
|
### Build instructions
|
||||||
|
|
||||||
1. `make` or `make USEGCC=1` to build with GCC.
|
1. `make` or `make USEGCC=1` to build with GCC. This is the default on
|
||||||
This is the default on Linux and Windows.
|
Linux and Windows.
|
||||||
2. `make USECLANG=1` to build with clang.
|
2. `make USECLANG=1` to build with clang. This is the default on OS X.
|
||||||
This is the default on OS X.
|
|
||||||
|
|
Loading…
Reference in a new issue