index.html 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="chrome=1">
  6. <title>OpenLibm by JuliaLang</title>
  7. <link rel="stylesheet" href="stylesheets/styles.css">
  8. <link rel="stylesheet" href="stylesheets/pygment_trac.css">
  9. <script src="javascripts/scale.fix.js"></script>
  10. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  11. <!--[if lt IE 9]>
  12. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  13. <![endif]-->
  14. </head>
  15. <body>
  16. <div class="wrapper">
  17. <header>
  18. <h1 class="header">OpenLibm</h1>
  19. <p class="header">A high quality system independent, portable, open source libm implementation</p>
  20. <ul>
  21. <li class="download"><a class="buttons" href="https://github.com/JuliaLang/openlibm/zipball/master">Download ZIP</a></li>
  22. <li class="download"><a class="buttons" href="https://github.com/JuliaLang/openlibm/tarball/master">Download TAR</a></li>
  23. <li><a class="buttons github" href="https://github.com/JuliaLang/openlibm">View On GitHub</a></li>
  24. </ul>
  25. <p class="header">This project is maintained by <a class="header name" href="https://github.com/JuliaLang">JuliaLang</a></p>
  26. </header>
  27. <section>
  28. <h2>
  29. <a id="openlibm" class="anchor" href="#openlibm" aria-hidden="true"><span class="octicon octicon-link"></span></a>OpenLibm</h2>
  30. <p>OpenLibm is an effort to have a high quality, portable, standalone
  31. C mathematical library (<a href="http://en.wikipedia.org/wiki/libm"><code>libm</code></a>).
  32. It can be used standalone in applications and programming language
  33. implementations. </p>
  34. <p>The project was born out of a need to have a good <code>libm</code> for the
  35. <a href="http://www.julialang.org">Julia programming langage</a> that worked
  36. consistently across compilers and operating systems, and in 32-bit and
  37. 64-bit environments.</p>
  38. <h3>
  39. <a id="history" class="anchor" href="#history" aria-hidden="true"><span class="octicon octicon-link"></span></a>History</h3>
  40. <p>The OpenLibm code derives from the <a href="http://svnweb.freebsd.org/base/head/lib/msun/">FreeBSD
  41. msun</a> implementation,
  42. which in turn derives from <a href="http://www.netlib.org/fdlibm/">FDLIBM
  43. 5.3</a>. As a result, it includes a number
  44. of fixes and updates to FDLIBM that have accumulated over the years in
  45. <code>msun</code>, and optimized versions of many functions.</p>
  46. <h3>
  47. <a id="platform-support" class="anchor" href="#platform-support" aria-hidden="true"><span class="octicon octicon-link"></span></a>Platform support</h3>
  48. <p>OpenLibm builds on Linux, Mac OS X, and Windows, and with little
  49. effort, should build on FreeBSD as well. It builds with both GCC and
  50. clang. Although largely tested on x86, it also includes experimental
  51. support for ARM. The original <code>msun</code> also includes support for mips,
  52. sparc64, powerpc, ia64, and alpha. These are present in the OpenLibm
  53. source tree, but no attempt has been made to build any of these.</p>
  54. <h3>
  55. <a id="build-instructions" class="anchor" href="#build-instructions" aria-hidden="true"><span class="octicon octicon-link"></span></a>Build instructions</h3>
  56. <ol>
  57. <li>
  58. <code>make</code> or <code>make USEGCC=1</code> to build with GCC. This is the default on
  59. Linux and Windows.<br>
  60. </li>
  61. <li>
  62. <code>make USECLANG=1</code> to build with clang. This is the default on OS X.</li>
  63. </ol>
  64. </section>
  65. <footer>
  66. <p><small>Hosted on <a href="http://pages.github.com">GitHub Pages</a> using the Dinky theme</small></p>
  67. </footer>
  68. </div>
  69. <!--[if !IE]><script>fixScale(document);</script><![endif]-->
  70. </body>
  71. </html>