<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD> <BODY> <h2 align="center">Xalan-C++ API Documentation</h2> <h3 align="center">The Xalan C++ XSLT Processor Version 1.4</h3> </BODY> <!-- Generated by Doxygen 1.1.2 on Mon Sep 16 08:30:10 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>DoubleSupport Class Reference</h1><code>#include <<a class="el" href="DoubleSupport.hpp-source.html">DoubleSupport.hpp</a>></code> <p> <a href="class_doublesupport-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>typedef const unsigned int* <a class="el" href="class_doublesupport.html#s0">DWORDPointerType</a> <li>typedef XALAN_UNALIGNED const unsigned int* <a class="el" href="class_doublesupport.html#s1">UnalignedDWORDPointerType</a> </ul> <h2>Static Public Methods</h2> <ul> <li>bool <a class="el" href="class_doublesupport.html#d0">isNaN</a> (double theNumber) <dl class="el"><dd><font size=-1><em>Determine if target is not a number.</em> <a href="#d0">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d1">isPositiveInfinity</a> (double theNumber) <dl class="el"><dd><font size=-1><em>Determine if target is positive infinity.</em> <a href="#d1">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d2">isNegativeInfinity</a> (double theNumber) <dl class="el"><dd><font size=-1><em>Determine if target is negative infinity.</em> <a href="#d2">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d3">isPositiveZero</a> (double theNumber) <dl class="el"><dd><font size=-1><em>Determine if target is positive 0.</em> <a href="#d3">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d4">isNegativeZero</a> (double theNumber) <dl class="el"><dd><font size=-1><em>Determine if target is negative 0.</em> <a href="#d4">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d5">getNaN</a> () <dl class="el"><dd><font size=-1><em>Double value that represents "not a number".</em> <a href="#d5">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d6">getPositiveInfinity</a> () <dl class="el"><dd><font size=-1><em>Double value that represents positive infinity.</em> <a href="#d6">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d7">getNegativeInfinity</a> () <dl class="el"><dd><font size=-1><em>Double value that represents negative infinity.</em> <a href="#d7">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d8">equal</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Compare two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d8">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d9">notEqual</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Compare two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d9">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d10">lessThan</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Compare two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d10">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d11">lessThanOrEqual</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Compare two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d11">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d12">greaterThan</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Compare two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d12">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d13">greaterThanOrEqual</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Compare two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d13">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d14">add</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Add two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d14">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d15">subtract</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Subtract two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d15">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d16">multiply</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Multiply two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d16">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d17">divide</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Divide two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d17">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d18">modulus</a> ( double theLHS, double theRHS) <dl class="el"><dd><font size=-1><em>Determine the modulus two double values, taking into account the fact that we must support IEEE 754.</em> <a href="#d18">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d19">negative</a> (double theDouble) <dl class="el"><dd><font size=-1><em>Determine the negative of a double value, taking into account the fact that we must support IEEE 754.</em> <a href="#d19">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d20">isValid</a> (const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> theString) <dl class="el"><dd><font size=-1><em>Determine whether or not a string contains a valid floating point number.</em> <a href="#d20">More...</a><em></em></font></dl><li>bool <a class="el" href="class_doublesupport.html#d21">isValid</a> (const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a>* theString) <dl class="el"><dd><font size=-1><em>Determine whether or not a string contains a valid floating point number.</em> <a href="#d21">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d22">toDouble</a> (const <a class="el" href="class_xalandomstring.html">XalanDOMString</a>& theString) <dl class="el"><dd><font size=-1><em>Convert a string to a double value.</em> <a href="#d22">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d23">toDouble</a> (const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a>* theString) <dl class="el"><dd><font size=-1><em>Convert a string to a double value.</em> <a href="#d23">More...</a><em></em></font></dl><li>double <a class="el" href="class_doublesupport.html#d24">round</a> (double theValue) <dl class="el"><dd><font size=-1><em>Round a number according to the <a class="el" href="class_xpath.html">XPath</a> rules.</em> <a href="#d24">More...</a><em></em></font></dl></ul> <hr><a name="_details"></a><h2>Detailed Description</h2> <p> <hr><h2>Member Typedef Documentation</h2> <a name="s0" doxytag="DoubleSupport::DWORDPointerType"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> typedef const unsigned int* DoubleSupport::DWORDPointerType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <a name="s1" doxytag="DoubleSupport::UnalignedDWORDPointerType"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> typedef XALAN_UNALIGNED const unsigned int* DoubleSupport::UnalignedDWORDPointerType</b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> </div> <hr><h2>Member Function Documentation</h2> <a name="d14" doxytag="DoubleSupport::add"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::add ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Add two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to add </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to add </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the addition </dl></div> <a name="d17" doxytag="DoubleSupport::divide"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::divide ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Divide two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to divide </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to divide </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the division </dl></div> <a name="d8" doxytag="DoubleSupport::equal"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::equal ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Compare two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to compare </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to compare </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the compare </dl></div> <a name="d5" doxytag="DoubleSupport::getNaN"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::getNaN ()<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Double value that represents "not a number". <p> <dl compact><dt> <b>Returns: </b><dd> "not a number" value </dl></div> <a name="d7" doxytag="DoubleSupport::getNegativeInfinity"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::getNegativeInfinity ()<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Double value that represents negative infinity. <p> <dl compact><dt> <b>Returns: </b><dd> negative infinity value </dl></div> <a name="d6" doxytag="DoubleSupport::getPositiveInfinity"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::getPositiveInfinity ()<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Double value that represents positive infinity. <p> <dl compact><dt> <b>Returns: </b><dd> positive infinity value </dl></div> <a name="d12" doxytag="DoubleSupport::greaterThan"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::greaterThan ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Compare two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to compare </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to compare </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the compare </dl></div> <a name="d13" doxytag="DoubleSupport::greaterThanOrEqual"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::greaterThanOrEqual ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Compare two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to compare </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to compare </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the compare </dl></div> <a name="d0" doxytag="DoubleSupport::isNaN"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::isNaN ( </b></td> <td><b> double <em>theNumber</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine if target is not a number. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theNumber</em> </td><td> target number </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if target represents the "not a number" value </dl></div> <a name="d2" doxytag="DoubleSupport::isNegativeInfinity"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::isNegativeInfinity ( </b></td> <td><b> double <em>theNumber</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine if target is negative infinity. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theNumber</em> </td><td> target number </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if target represents the value for negative infinity </dl></div> <a name="d4" doxytag="DoubleSupport::isNegativeZero"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::isNegativeZero ( </b></td> <td><b> double <em>theNumber</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine if target is negative 0. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theNumber</em> </td><td> target number </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if target represents the value for negative 0 </dl></div> <a name="d1" doxytag="DoubleSupport::isPositiveInfinity"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::isPositiveInfinity ( </b></td> <td><b> double <em>theNumber</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine if target is positive infinity. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theNumber</em> </td><td> target number </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if target represents the value for positive infinity </dl></div> <a name="d3" doxytag="DoubleSupport::isPositiveZero"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::isPositiveZero ( </b></td> <td><b> double <em>theNumber</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine if target is positive 0. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theNumber</em> </td><td> target number </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if target represents the value for positive 0. </dl></div> <a name="d21" doxytag="DoubleSupport::isValid"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::isValid ( </b></td> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> * <em>theString</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine whether or not a string contains a valid floating point number. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theString</em> </td><td> The string to check. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if the string is valid, false if not. </dl></div> <a name="d20" doxytag="DoubleSupport::isValid"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::isValid ( </b></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> <em>theString</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine whether or not a string contains a valid floating point number. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theString</em> </td><td> The string to check. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> true if the string is valid, false if not. </dl></div> <a name="d10" doxytag="DoubleSupport::lessThan"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::lessThan ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Compare two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to compare </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to compare </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the compare </dl></div> <a name="d11" doxytag="DoubleSupport::lessThanOrEqual"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::lessThanOrEqual ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Compare two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to compare </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to compare </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the compare </dl></div> <a name="d18" doxytag="DoubleSupport::modulus"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::modulus ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine the modulus two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to divide </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to divide </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the modulus </dl></div> <a name="d16" doxytag="DoubleSupport::multiply"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::multiply ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Multiply two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to multiply </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to multiply </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the multiplication </dl></div> <a name="d19" doxytag="DoubleSupport::negative"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::negative ( </b></td> <td><b> double <em>theDouble</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Determine the negative of a double value, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theDouble</em> </td><td> a number to negate </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the negation </dl></div> <a name="d9" doxytag="DoubleSupport::notEqual"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> bool DoubleSupport::notEqual ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Compare two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to compare </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to compare </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the compare </dl></div> <a name="d24" doxytag="DoubleSupport::round"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::round ( </b></td> <td><b> double <em>theValue</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Round a number according to the <a class="el" href="class_xpath.html">XPath</a> rules. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theValue</em> </td><td> The value to round. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> The result of the rounding </dl></div> <a name="d15" doxytag="DoubleSupport::subtract"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::subtract ( </b></td> <td><b> double <em>theLHS</em>, </b></td></tr> <tr><td></td><td><b> double <em>theRHS</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Subtract two double values, taking into account the fact that we must support IEEE 754. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theLHS</em> </td><td> a number to subtract </td></tr> <tr><td valign=top><em>theRHS</em> </td><td> a number to subtract </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> the result of the subtraction </dl></div> <a name="d23" doxytag="DoubleSupport::toDouble"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::toDouble ( </b></td> <td><b> const <a class="el" href="XalanDOMString.hpp.html#a16">XalanDOMChar</a> * <em>theString</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Convert a string to a double value. <p> Returns NaN if the string is not a valid floating point number. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theString</em> </td><td> The string to convert. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> The result of the conversion </dl></div> <a name="d22" doxytag="DoubleSupport::toDouble"><p> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr> <td class="md"><b> <table cellspadding=0 cellspacing=0 border=0> <tr> <td><b> double DoubleSupport::toDouble ( </b></td> <td><b> const <a class="el" href="class_xalandomstring.html">XalanDOMString</a> & <em>theString</em>)<code> [static]</code></b></td></tr> </b></td> </tr> </table> </td> </tr> </table> </a> <div class="in"> <p> Convert a string to a double value. <p> Returns NaN if the string is not a valid floating point number. <p> <dl compact><dt> <b>Parameters: </b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><em>theString</em> </td><td> The string to convert. </td></tr> </table> </dl><dl compact><dt> <b>Returns: </b><dd> The result of the conversion </dl></div> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="DoubleSupport.hpp.html">DoubleSupport.hpp</a></ul> <p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p> <p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1"> <i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and <A href="http://www.research.att.com/sw/tools/graphviz/">GraphViz</A> are used to generate this API documentation from the Xalan-C header files.</I></FONT></p> <TABLE border="0" cellpadding="0" cellspacing="0" width="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1"></TD></TR></TABLE> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="80%"> <TR> <TD WIDTH="80%" VALIGN="TOP"> <P ALIGN="CENTER"><B>Xalan-C++ XSLT Processor Version 1.4</B><BR> Copyright © 2000, 2001, 2002 The Apache Software Foundation. All Rights Reserved.</i></p> </TD> </TR> <TR> <TD WIDTH="100%"> <P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0"> </TD> </TR> </TABLE>