mpfr-exceptions.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <html lang="en">
  2. <head>
  3. <title>mpfr exceptions - 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="mpfr.html#mpfr" title="mpfr">
  9. <link rel="prev" href="mpfr-conversion-functions.html#mpfr-conversion-functions" title="mpfr conversion functions">
  10. <link rel="next" href="Additional-mpfr-notes.html#Additional-mpfr-notes" title="Additional mpfr notes">
  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="mpfr-exceptions"></a>
  28. <p>
  29. Next:&nbsp;<a rel="next" accesskey="n" href="Additional-mpfr-notes.html#Additional-mpfr-notes">Additional mpfr notes</a>,
  30. Previous:&nbsp;<a rel="previous" accesskey="p" href="mpfr-conversion-functions.html#mpfr-conversion-functions">mpfr conversion functions</a>,
  31. Up:&nbsp;<a rel="up" accesskey="u" href="mpfr.html#mpfr">mpfr</a>
  32. <hr>
  33. </div>
  34. <h4 class="subsection">D.14.9 <code>mpfr</code> exceptions</h4>
  35. <ul>
  36. <li>A message of <code>&lt;'memory overflow'&gt;</code> is possible any time
  37. <code>mpfr</code> runs out of memory.
  38. <li>A message of <code>&lt;'bad mpfr specification'&gt;</code> will be returned
  39. <a name="index-bad-mpfr-specification-799"></a>if an input argument recognizably violates the required specification.
  40. <li>The <code>&lt;'mpfr error'&gt;</code> message is returned in the event of any
  41. <a name="index-mpfr-error-800"></a>unexpected behavior or irregular status from the API.
  42. <li>The message of <code>&lt;'mpfr overflow'&gt;</code> can be cause by the
  43. <code>nat2mp</code> function if a natural number has too many bits to be
  44. represented exactly as an <code>mpfr</code> number.
  45. </ul>
  46. </body></html>