123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <html lang="en">
- <head>
- <title>mpfr - avram - a virtual machine code interpreter</title>
- <meta http-equiv="Content-Type" content="text/html">
- <meta name="description" content="avram - a virtual machine code interpreter">
- <meta name="generator" content="makeinfo 4.13">
- <link title="Top" rel="start" href="index.html#Top">
- <link rel="up" href="External-Libraries.html#External-Libraries" title="External Libraries">
- <link rel="prev" href="minpack.html#minpack" title="minpack">
- <link rel="next" href="lpsolve.html#lpsolve" title="lpsolve">
- <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <style type="text/css"><!--
- pre.display { font-family:inherit }
- pre.format { font-family:inherit }
- pre.smalldisplay { font-family:inherit; font-size:smaller }
- pre.smallformat { font-family:inherit; font-size:smaller }
- pre.smallexample { font-size:smaller }
- pre.smalllisp { font-size:smaller }
- span.sc { font-variant:small-caps }
- span.roman { font-family:serif; font-weight:normal; }
- span.sansserif { font-family:sans-serif; font-weight:normal; }
- --></style>
- </head>
- <body>
- <div class="node">
- <a name="mpfr"></a>
- <p>
- Next: <a rel="next" accesskey="n" href="lpsolve.html#lpsolve">lpsolve</a>,
- Previous: <a rel="previous" accesskey="p" href="minpack.html#minpack">minpack</a>,
- Up: <a rel="up" accesskey="u" href="External-Libraries.html#External-Libraries">External Libraries</a>
- <hr>
- </div>
- <h3 class="section">D.14 <code>mpfr</code></h3>
- <p>The <code>mpfr</code> library provides a rich assortment of floating point
- operations on arbitrary precision numbers
- (<a href="http://www.mpfr.org">http://www.mpfr.org</a>). These numbers are represented in a format
- that is not binary compatible with the standard IEEE floating point
- number format used by other libraries, but they offer superior
- numerical stability suitable for many ill conditioned problems.
- <p>The virtual code interface to the <code>mpfr</code> library follows the
- native API to the extent of using the same names for most operations,
- but excludes features pertaining to i/o, mutable storage, and memory
- management.
- <p>The <code>mpfr</code> library functions are invoked by an expression of the
- form
- <pre class="example"> library('mpfr',f)
- </pre>
- <p class="noindent">Aside from a few exceptions as noted, <code>f</code> is a character string
- derived from the name of the related function from the <code>mpfr</code> C
- library as documented at the above address, but without the
- <code>mpfr_</code> prefix.
- <p>The full complement of available functions is documented in the
- remainder of this section.
- <ul>
- <li>References to natural numbers pertain to the list representation
- described in <a href="Representation-of-Numeric-and-Textual-Data.html#Representation-of-Numeric-and-Textual-Data">Representation of Numeric and Textual Data</a>.
- <li>All functions that perform rounding use a mode of <code>GMP_RNDN</code> for
- <a name="index-rounding-792"></a>rounding to nearest, which is not explicitly specified on the virtual
- side.
- </ul>
- <ul class="menu">
- <li><a accesskey="1" href="mpfr-binary-operators.html#mpfr-binary-operators">mpfr binary operators</a>
- <li><a accesskey="2" href="mpfr-unary-operators.html#mpfr-unary-operators">mpfr unary operators</a>
- <li><a accesskey="3" href="mpfr-binary-operators-with-a-natural-operand.html#mpfr-binary-operators-with-a-natural-operand">mpfr binary operators with a natural operand</a>
- <li><a accesskey="4" href="mpfr-binary-predicates.html#mpfr-binary-predicates">mpfr binary predicates</a>
- <li><a accesskey="5" href="mpfr-unary-predicates.html#mpfr-unary-predicates">mpfr unary predicates</a>
- <li><a accesskey="6" href="mpfr-constants.html#mpfr-constants">mpfr constants</a>
- <li><a accesskey="7" href="mpfr-functions-with-miscellaneous-calling-conventions.html#mpfr-functions-with-miscellaneous-calling-conventions">mpfr functions with miscellaneous calling conventions</a>
- <li><a accesskey="8" href="mpfr-conversion-functions.html#mpfr-conversion-functions">mpfr conversion functions</a>
- <li><a accesskey="9" href="mpfr-exceptions.html#mpfr-exceptions">mpfr exceptions</a>
- <li><a href="Additional-mpfr-notes.html#Additional-mpfr-notes">Additional mpfr notes</a>
- </ul>
- </body></html>
|