math.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <html lang="en">
  2. <head>
  3. <title>math - avram - a virtual machine code interpreter</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="avram - a virtual machine code interpreter">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="External-Libraries.html#External-Libraries" title="External Libraries">
  9. <link rel="prev" href="lapack.html#lapack" title="lapack">
  10. <link rel="next" href="mtwist.html#mtwist" title="mtwist">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <a name="math"></a>
  28. <p>
  29. Next:&nbsp;<a rel="next" accesskey="n" href="mtwist.html#mtwist">mtwist</a>,
  30. Previous:&nbsp;<a rel="previous" accesskey="p" href="lapack.html#lapack">lapack</a>,
  31. Up:&nbsp;<a rel="up" accesskey="u" href="External-Libraries.html#External-Libraries">External Libraries</a>
  32. <hr>
  33. </div>
  34. <h3 class="section">D.11 <code>math</code></h3>
  35. <p>The <code>math</code> library exports functions that operate on IEEE double
  36. precision floating point numbers using the host system's C
  37. library. The numbers are represented natively as contiguous blocks of
  38. 8 bytes each, and on the virtual side as lists of eight character
  39. representations. (More explanation is given in <a href="Type-Conversions.html#Type-Conversions">Type Conversions</a>.) These functions take the form
  40. <pre class="example"> library('math',f)
  41. </pre>
  42. <p class="noindent">where <code>f</code> is a character string identifying the function in most
  43. cases by its standard name in the C library.
  44. <ul class="menu">
  45. <li><a accesskey="1" href="math-library-operators.html#math-library-operators">math library operators</a>
  46. <li><a accesskey="2" href="math-library-predicates.html#math-library-predicates">math library predicates</a>
  47. <li><a accesskey="3" href="math-library-conversion-functions.html#math-library-conversion-functions">math library conversion functions</a>
  48. <li><a accesskey="4" href="math-library-exceptions.html#math-library-exceptions">math library exceptions</a>
  49. <li><a accesskey="5" href="Additional-math-library-notes.html#Additional-math-library-notes">Additional math library notes</a>
  50. </ul>
  51. </body></html>