<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>CVC3: rational.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CVC3 <span id="projectnumber">2.4.1</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">rational.h File Reference</div> </div> </div> <div class="contents"> <div class="textblock"><code>#include <vector></code><br/> <code>#include "<a class="el" href="debug_8h_source.html">debug.h</a>"</code><br/> </div> <p><a href="rational_8h_source.html">Go to the source code of this file.</a></p> <h2><a name="nested-classes"></a> Classes</h2> <ul> <li>class <a class="el" href="classCVC3_1_1Rational.html">CVC3::Rational</a> <li>class <a class="el" href="classCVC3_1_1Unsigned.html">CVC3::Unsigned</a> </ul> <h2><a name="namespaces"></a> Namespaces</h2> <ul> <li>namespace <a class="el" href="namespaceCVC3.html">CVC3</a> </ul> <h2><a name="func-members"></a> Functions</h2> <ul> <li>Rational <a class="el" href="namespaceCVC3.html#a28fc84bed3f9bc91ca9967de0f9cfa00">CVC3::pow</a> (Rational pow, const Rational &base) <dl class="el"><dd class="mdescRight">Raise 'base' into the power of 'pow' (pow must be an integer) <a href="#a28fc84bed3f9bc91ca9967de0f9cfa00"></a><br/></dl><li>Rational <a class="el" href="namespaceCVC3.html#aad16f7bcc4d7a86af9b253e8587d264b">CVC3::ratRoot</a> (const Rational &base, unsigned long int n) <dl class="el"><dd class="mdescRight">take nth root of base, return result if it is exact, 0 otherwise <a href="#aad16f7bcc4d7a86af9b253e8587d264b"></a><br/></dl><li>Rational <a class="el" href="namespaceCVC3.html#a99bc47c4b1c400d10eb33e69266442e8">CVC3::newRational</a> (int n, int d=1) <li>Rational <a class="el" href="namespaceCVC3.html#a5a94c3cc77eaf88181f2ba4e9f77d507">CVC3::newRational</a> (const char *n, int base=10) <li>Rational <a class="el" href="namespaceCVC3.html#af6de983432f53ca32fd0382b10b95aa4">CVC3::newRational</a> (const std::string &n, int base=10) <li>Rational <a class="el" href="namespaceCVC3.html#aedc98a7c4ef4c15463d3e0c305b88a19">CVC3::newRational</a> (const char *n, const char *d, int base=10) <li>Rational <a class="el" href="namespaceCVC3.html#a2529d86a0ee36caba05aa02d4770b50e">CVC3::newRational</a> (const std::string &n, const std::string &d, int base=10) <li>void <a class="el" href="namespaceCVC3.html#ad6230476bd3a2fa2f067f419f61550c4">CVC3::printRational</a> (const Rational &x) <li>Unsigned <a class="el" href="namespaceCVC3.html#a023bd8e48397858f1d92a82311dbb723">CVC3::pow</a> (Unsigned pow, const Unsigned &base) <dl class="el"><dd class="mdescRight">Raise 'base' into the power of 'pow' (pow must be an integer) <a href="#a023bd8e48397858f1d92a82311dbb723"></a><br/></dl><li>Unsigned <a class="el" href="namespaceCVC3.html#ab3f0f9e0bc6a718e0d5be17c41bca1ef">CVC3::newUnsigned</a> (int n) <li>Unsigned <a class="el" href="namespaceCVC3.html#ae148a49c2e16015c0abfe4272dd09814">CVC3::newUnsigned</a> (const char *n, int base=10) <li>Unsigned <a class="el" href="namespaceCVC3.html#ad5405d27075520c261a298e09f3c1762">CVC3::newUnsigned</a> (const std::string &n, int base=10) <li>void <a class="el" href="namespaceCVC3.html#a43c3e2422211ac764ed371d840ac6ae9">CVC3::printUnsigned</a> (const Unsigned &x) </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Author: Sergey Berezin</p> <p>Created: Dec 12 22:00:18 GMT 2002</p> <hr/> <p>License to use, copy, modify, sell and/or distribute this software and its documentation for any purpose is hereby granted without royalty, subject to the terms and conditions defined in the <a class="el" href="LICENSE.html">LICENSE</a> file provided with this distribution.</p> <hr/> <p>Definition in file <a class="el" href="rational_8h_source.html">rational.h</a>.</p> </div></div> <hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>