1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <html lang="en">
- <head>
- <title>mpfr unary predicates - 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="mpfr.html#mpfr" title="mpfr">
- <link rel="prev" href="mpfr-binary-predicates.html#mpfr-binary-predicates" title="mpfr binary predicates">
- <link rel="next" href="mpfr-constants.html#mpfr-constants" title="mpfr constants">
- <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-unary-predicates"></a>
- <p>
- Next: <a rel="next" accesskey="n" href="mpfr-constants.html#mpfr-constants">mpfr constants</a>,
- Previous: <a rel="previous" accesskey="p" href="mpfr-binary-predicates.html#mpfr-binary-predicates">mpfr binary predicates</a>,
- Up: <a rel="up" accesskey="u" href="mpfr.html#mpfr">mpfr</a>
- <hr>
- </div>
- <h4 class="subsection">D.14.5 <code>mpfr</code> unary predicates</h4>
- <p>Each of these predicates takes an <code>mpfr</code> number as an argument
- and performs a logical operation. If the result is true, it returns
- <code>(nil,nil)</code>, and otherwise it returns <code>nil</code>.
- <ul>
- <li><code>nan_p</code>
- <li><code>inf_p</code>
- <li><code>number_p</code>
- <li><code>zero_p</code>
- <li><code>integer_p</code>
- </ul>
- </body></html>
|