1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <html lang="en">
- <head>
- <title>mtwist exceptions - 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="mtwist.html#mtwist" title="mtwist">
- <link rel="prev" href="mtwist-calling-conventions.html#mtwist-calling-conventions" title="mtwist calling conventions">
- <link rel="next" href="Additional-mtwist-notes.html#Additional-mtwist-notes" title="Additional mtwist notes">
- <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="mtwist-exceptions"></a>
- <p>
- Next: <a rel="next" accesskey="n" href="Additional-mtwist-notes.html#Additional-mtwist-notes">Additional mtwist notes</a>,
- Previous: <a rel="previous" accesskey="p" href="mtwist-calling-conventions.html#mtwist-calling-conventions">mtwist calling conventions</a>,
- Up: <a rel="up" accesskey="u" href="mtwist.html#mtwist">mtwist</a>
- <hr>
- </div>
- <h4 class="subsection">D.12.2 <code>mtwist</code> exceptions</h4>
- <ul>
- <li><code><'memory overflow'></code> can be returned if there is insufficient
- memory to allocate a result.
- <li>Messages of <code><'missing value'></code> and <code><'invalid value'></code> can
- be returned if any floating point argument is <code>nil</code> or is not a
- valid floating point number, unless there is a designated default
- interpretation for <code>nil</code> as in <code>bern</code> and <code>u_cont</code>.
- <li>A message of <code><'bad mtwist specification'></code> is returned if an
- argument to the <code>bern</code> function is not in the range of 0 to 1, or
- if any probability passed to the <code>w_</code>* functions is negative.
- <li>A message of <code><'draw from empty list'></code> is returned if
- an argument to the *<code>_enum</code> functions is <code>nil</code>
- or if an argument to <code>w_enum</code> contains <code>nil</code>.
- </ul>
- </body></html>
|