1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="chrome=1">
- <title>OpenLibm by JuliaLang</title>
- <link rel="stylesheet" href="stylesheets/styles.css">
- <link rel="stylesheet" href="stylesheets/pygment_trac.css">
- <script src="javascripts/scale.fix.js"></script>
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <!--[if lt IE 9]>
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- </head>
- <body>
- <div class="wrapper">
- <header>
- <h1 class="header">OpenLibm</h1>
- <p class="header">A high quality system independent, portable, open source libm implementation</p>
- <ul>
- <li class="download"><a class="buttons" href="https://github.com/JuliaLang/openlibm/zipball/master">Download ZIP</a></li>
- <li class="download"><a class="buttons" href="https://github.com/JuliaLang/openlibm/tarball/master">Download TAR</a></li>
- <li><a class="buttons github" href="https://github.com/JuliaLang/openlibm">View On GitHub</a></li>
- </ul>
- <p class="header">This project is maintained by <a class="header name" href="https://github.com/JuliaLang">JuliaLang</a></p>
- </header>
- <section>
- <h2>
- <a id="openlibm" class="anchor" href="#openlibm" aria-hidden="true"><span class="octicon octicon-link"></span></a>OpenLibm</h2>
- <p><a href="http://www.openlibm.org">OpenLibm</a> is an effort to have a high quality, portable, standalone
- C mathematical library (<a href="http://en.wikipedia.org/wiki/libm"><code>libm</code></a>).
- It can be used standalone in applications and programming language
- implementations.</p>
- <p>The project was born out of a need to have a good <code>libm</code> for the
- <a href="http://www.julialang.org">Julia programming langage</a> that worked
- consistently across compilers and operating systems, and in 32-bit and
- 64-bit environments.</p>
- <h3>
- <a id="history" class="anchor" href="#history" aria-hidden="true"><span class="octicon octicon-link"></span></a>History</h3>
- <p>The OpenLibm code derives from the <a href="http://svnweb.freebsd.org/base/head/lib/msun/">FreeBSD
- msun</a> and <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libm/src/">OpenBSD
- libm</a>
- implementations, which in turn derives from <a href="http://www.netlib.org/fdlibm/">FDLIBM
- 5.3</a>. As a result, it includes a number
- of fixes and updates to FDLIBM that have accumulated over the years in
- <code>msun</code>, and optimized versions of many functions.</p>
- <h3>
- <a id="platform-support" class="anchor" href="#platform-support" aria-hidden="true"><span class="octicon octicon-link"></span></a>Platform support</h3>
- <p>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 <code>msun</code> 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.</p>
- <h3>
- <a id="build-instructions" class="anchor" href="#build-instructions" aria-hidden="true"><span class="octicon octicon-link"></span></a>Build instructions</h3>
- <ol>
- <li>
- <code>make</code> or <code>make USEGCC=1</code> to build with GCC. This is the default on
- Linux and Windows.</li>
- <li>
- <code>make USECLANG=1</code> to build with clang. This is the default on OS X.</li>
- </ol>
- </section>
- <footer>
- <p><small>Hosted on <a href="http://pages.github.com">GitHub Pages</a> using the Dinky theme</small></p>
- </footer>
- </div>
- <!--[if !IE]><script>fixScale(document);</script><![endif]-->
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("UA-28835595-4");
- pageTracker._trackPageview();
- } catch(err) {}
- </script>
- </body>
- </html>
|