|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| aarch64/ | H | - | - | 55 | 18 |
| amd64/ | H | - | - | 1,652 | 836 |
| arm/ | H | - | - | 55 | 18 |
| bsdsrc/ | H | - | - | 1,028 | 635 |
| docs/ | H | - | - | 613 | 499 |
| i387/ | H | - | - | 2,799 | 1,472 |
| include/ | H | - | - | 2,223 | 1,493 |
| ld128/ | H | - | - | 6,335 | 4,124 |
| ld80/ | H | - | - | 5,219 | 2,981 |
| mips/ | H | - | - | 254 | 132 |
| powerpc/ | H | - | - | 51 | 18 |
| s390/ | H | - | - | 53 | 18 |
| src/ | H | - | - | 23,821 | 12,287 |
| test/ | H | - | - | 5,131 | 3,727 |
| .gitignore | H A D | 20-Jun-2014 | 38 | 8 | 7 |
| .mailmap | H A D | 24-Aug-2012 | 2.9 KiB | 62 | 46 |
| .travis.yml | H A D | 18-Jun-2018 | 3.5 KiB | 107 | 95 |
| LICENSE.md | H A D | 18-Jun-2018 | 5.7 KiB | 116 | 103 |
| Make.inc | H A D | 07-Nov-2018 | 3.3 KiB | 149 | 124 |
| Makefile | H A D | 07-Nov-2018 | 3 KiB | 102 | 76 |
| README.md | H A D | 18-Jun-2018 | 1.6 KiB | 38 | 28 |
| appveyor.yml | H A D | 18-Jun-2018 | 1.4 KiB | 38 | 31 |
| openlibm.pc.in | H A D | 18-Jun-2018 | 273 | 11 | 9 |
README.md
1# OpenLibm
2
3[![Travis](https://travis-ci.org/JuliaMath/openlibm.svg?branch=master)](https://travis-ci.org/JuliaMath/openlibm)
4[![AppVeyor](https://ci.appveyor.com/api/projects/status/sia04r4089rr19uc/branch/master?svg=true)](https://ci.appveyor.com/project/ararslan/openlibm-19152/branch/master)
5
6[OpenLibm](http://www.openlibm.org) is an effort to have a high quality, portable, standalone
7C mathematical library ([`libm`](http://en.wikipedia.org/wiki/libm)).
8It can be used standalone in applications and programming language
9implementations.
10
11The project was born out of a need to have a good `libm` for the
12[Julia programming langage](http://www.julialang.org) that worked
13consistently across compilers and operating systems, and in 32-bit and
1464-bit environments.
15
16## Platform support
17
18OpenLibm builds on Linux, Mac OS X, Windows, FreeBSD, OpenBSD, and
19DragonFly BSD. It builds with both GCC and clang. Although largely
20tested and widely used on the x86 and x86-64 architectures, OpenLibm
21also supports arm, aarch64, ppc64le, and mips.
22
23## Build instructions
24
251. Use GNU Make to build OpenLibm. This is `make` on most systems, but `gmake` on BSDs.
262. Use `make USEGCC=1` to build with GCC. This is the default on
27 Linux and Windows.
283. Use `make USECLANG=1` to build with clang. This is the default on OS X, FreeBSD,
29 and OpenBSD.
304. Architectures are auto-detected. Use `make ARCH=i386` to force a
31 build for i386. Other supported architectures are i486, i586, and
32 i686. GCC 4.8 is the minimum requirement for correct codegen on
33 older 32-bit architectures.
34
35## Acknowledgements
36
37PowerPC support for openlibm was graciously sponsored by IBM.
38