index.html 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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><a href="http://www.openlibm.org">OpenLibm</a> 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> and <a href="http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libm/src/">OpenBSD
  42. libm</a>
  43. implementations, which in turn derives from <a href="http://www.netlib.org/fdlibm/">FDLIBM
  44. 5.3</a>. As a result, it includes a number
  45. of fixes and updates to FDLIBM that have accumulated over the years in
  46. <code>msun</code>, and optimized versions of many functions.</p>
  47. <h3>
  48. <a id="platform-support" class="anchor" href="#platform-support" aria-hidden="true"><span class="octicon octicon-link"></span></a>Platform support</h3>
  49. <p>OpenLibm builds on Linux, Mac OS X, and Windows, and with little
  50. effort, should build on FreeBSD as well. It builds with both GCC and
  51. clang. Although largely tested on x86, it also includes experimental
  52. support for ARM. The original <code>msun</code> also includes support for mips,
  53. sparc64, powerpc, ia64, and alpha. These are present in the OpenLibm
  54. source tree, but no attempt has been made to build any of these.</p>
  55. <h3>
  56. <a id="build-instructions" class="anchor" href="#build-instructions" aria-hidden="true"><span class="octicon octicon-link"></span></a>Build instructions</h3>
  57. <ol>
  58. <li>
  59. <code>make</code> or <code>make USEGCC=1</code> to build with GCC. This is the default on
  60. Linux and Windows.</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. <script type="text/javascript">
  71. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  72. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  73. </script>
  74. <script type="text/javascript">
  75. try {
  76. var pageTracker = _gat._getTracker("UA-28835595-4");
  77. pageTracker._trackPageview();
  78. } catch(err) {}
  79. </script>
  80. </body>
  81. </html>