| <!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>Xalan-C++ API : Main Page</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <!-- The head section is copied from Doxygen 1.7.1 generated default output --> |
| <body> |
| <h2 align="center">Xalan-C++ API Documentation</h2> |
| <h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3> |
| <hr/> |
| <!-- Generated by Doxygen 1.7.1 --> |
| <div class="navigation" id="top"> |
| <div 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 class="current"><a href="annotated.html"><span>Classes</span></a></li> |
| <li><a href="files.html"><span>Files</span></a></li> |
| </ul> |
| </div> |
| <div class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="annotated.html"><span>Class List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#nested-classes">Classes</a> | |
| <a href="#pub-static-methods">Static Public Member Functions</a> </div> |
| <div class="headertitle"> |
| <h1>DoubleSupport Class Reference</h1> </div> |
| </div> |
| <div class="contents"> |
| <!-- doxytag: class="DoubleSupport" --> |
| <p><code>#include <<a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>></code></p> |
| <div class="dynheader"> |
| Collaboration diagram for DoubleSupport:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="classDoubleSupport__coll__graph.png" border="0" usemap="#DoubleSupport_coll__map" alt="Collaboration graph"/></div> |
| <map name="DoubleSupport_coll__map" id="DoubleSupport_coll__map"> |
| <area shape="rect" id="node2" href="unionDoubleSupport_1_1NumberUnion.html" title="DoubleSupport::NumberUnion" alt="" coords="5,5,219,35"/></map> |
| <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> |
| |
| <p><a href="classDoubleSupport-members.html">List of all members.</a></p> |
| <h2><a name="nested-classes"></a> |
| Classes</h2> |
| <ul> |
| <li>struct <a class="el" href="structDoubleSupport_1_1addFunction.html">addFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1divideFunction.html">divideFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1equalFunction.html">equalFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1greaterThanFunction.html">greaterThanFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1greaterThanOrEqualFunction.html">greaterThanOrEqualFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1lessThanFunction.html">lessThanFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1lessThanOrEqualFunction.html">lessThanOrEqualFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1modulusFunction.html">modulusFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1multiplyFunction.html">multiplyFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1negativeFunction.html">negativeFunction</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1notEqualFunction.html">notEqualFunction</a> |
| <li>union <a class="el" href="unionDoubleSupport_1_1NumberUnion.html">NumberUnion</a> |
| <li>struct <a class="el" href="structDoubleSupport_1_1subtractFunction.html">subtractFunction</a> |
| </ul> |
| <h2><a name="pub-static-methods"></a> |
| Static Public Member Functions</h2> |
| <ul> |
| <li>static void <a class="el" href="classDoubleSupport.html#aa9f3f43991458153ccbe37d6c3352690">initialize</a> () |
| <dl class="el"><dd class="mdescRight">Perform static initialization. <a href="#aa9f3f43991458153ccbe37d6c3352690"></a><br/></dl><li>static void <a class="el" href="classDoubleSupport.html#a48a075fff441f3cbf3ff7671f92348a7">terminate</a> () |
| <dl class="el"><dd class="mdescRight">Perform static shut down. <a href="#a48a075fff441f3cbf3ff7671f92348a7"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a0b9244a041282ab8cf93488485774439">isNaN</a> (double theNumber) |
| <dl class="el"><dd class="mdescRight">Determine if target is not a number. <a href="#a0b9244a041282ab8cf93488485774439"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#af27e366b5f2a7ac3d95cdfbd670de033">isPositiveInfinity</a> (double theNumber) |
| <dl class="el"><dd class="mdescRight">Determine if target is positive infinity. <a href="#af27e366b5f2a7ac3d95cdfbd670de033"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a58be33f5268a6a15677b751c66d17f38">isNegativeInfinity</a> (double theNumber) |
| <dl class="el"><dd class="mdescRight">Determine if target is negative infinity. <a href="#a58be33f5268a6a15677b751c66d17f38"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a143f860115c3127637ea2f357343840f">isPositiveZero</a> (double theNumber) |
| <dl class="el"><dd class="mdescRight">Determine if target is positive 0. <a href="#a143f860115c3127637ea2f357343840f"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#ad8c454634dce5f10bc92eebbbc66f4c1">isNegativeZero</a> (double theNumber) |
| <dl class="el"><dd class="mdescRight">Determine if target is negative 0. <a href="#ad8c454634dce5f10bc92eebbbc66f4c1"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#af839b75f64fbbd0b96207f7cb5fe8b37">getNaN</a> () |
| <dl class="el"><dd class="mdescRight">Double value that represents "not a number". <a href="#af839b75f64fbbd0b96207f7cb5fe8b37"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#ae73d28fa0c511a33ef2915884214f86b">getPositiveInfinity</a> () |
| <dl class="el"><dd class="mdescRight">Double value that represents positive infinity. <a href="#ae73d28fa0c511a33ef2915884214f86b"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#afae4039d63ecb93a4057acd6345aacad">getNegativeInfinity</a> () |
| <dl class="el"><dd class="mdescRight">Double value that represents negative infinity. <a href="#afae4039d63ecb93a4057acd6345aacad"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a220ceebf1e93fdd491684fe82f229a97">equal</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Compare two double values, taking into account the fact that we must support IEEE 754. <a href="#a220ceebf1e93fdd491684fe82f229a97"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a3bc5a5d8ba58e0682a904d120e655fdd">notEqual</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Compare two double values, taking into account the fact that we must support IEEE 754. <a href="#a3bc5a5d8ba58e0682a904d120e655fdd"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#af460e7143de19d10813ab7b9345c6df1">lessThan</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Compare two double values, taking into account the fact that we must support IEEE 754. <a href="#af460e7143de19d10813ab7b9345c6df1"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#aef70869ade4d1a9cd36a3158a3ef23f5">lessThanOrEqual</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Compare two double values, taking into account the fact that we must support IEEE 754. <a href="#aef70869ade4d1a9cd36a3158a3ef23f5"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#ab6a4326dd30eddd92d3635861e1d0b52">greaterThan</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Compare two double values, taking into account the fact that we must support IEEE 754. <a href="#ab6a4326dd30eddd92d3635861e1d0b52"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a230b7fc15cdf3abed04df2be51442a6e">greaterThanOrEqual</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Compare two double values, taking into account the fact that we must support IEEE 754. <a href="#a230b7fc15cdf3abed04df2be51442a6e"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#aa02bca1b2607c06ccd62e638eb29f435">add</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Add two double values, taking into account the fact that we must support IEEE 754. <a href="#aa02bca1b2607c06ccd62e638eb29f435"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#aba5aac04f68d999677da37616d65950a">subtract</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Subtract two double values, taking into account the fact that we must support IEEE 754. <a href="#aba5aac04f68d999677da37616d65950a"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#ae95bc5f2ad1cf9c090de3b88fac465f5">multiply</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Multiply two double values, taking into account the fact that we must support IEEE 754. <a href="#ae95bc5f2ad1cf9c090de3b88fac465f5"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#ad9fcad1d4d0517ce517b10e0f182bc4b">divide</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Divide two double values, taking into account the fact that we must support IEEE 754. <a href="#ad9fcad1d4d0517ce517b10e0f182bc4b"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#ab6234be7bb5eddbfbd228ea3ab769408">modulus</a> (double theLHS, double theRHS) |
| <dl class="el"><dd class="mdescRight">Determine the modulus two double values, taking into account the fact that we must support IEEE 754. <a href="#ab6234be7bb5eddbfbd228ea3ab769408"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#a4e4122fc3db9c805864626f95bca3ecd">negative</a> (double theDouble) |
| <dl class="el"><dd class="mdescRight">Determine the negative of a double value, taking into account the fact that we must support IEEE 754. <a href="#a4e4122fc3db9c805864626f95bca3ecd"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#a3bcdf00ef7fb6cc65e2229f9083bc59c">abs</a> (double theDouble) |
| <dl class="el"><dd class="mdescRight">Return the absolute value of theDouble. <a href="#a3bcdf00ef7fb6cc65e2229f9083bc59c"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a212bcd95542c9d37eda9527f50459347">isValid</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theString) |
| <dl class="el"><dd class="mdescRight">Determine whether or not a string contains a valid floating point number. <a href="#a212bcd95542c9d37eda9527f50459347"></a><br/></dl><li>static bool <a class="el" href="classDoubleSupport.html#a1033800fbc0d1a1eb08efdc145ea6b9b">isValid</a> (const XalanDOMChar *theString) |
| <dl class="el"><dd class="mdescRight">Determine whether or not a string contains a valid floating point number. <a href="#a1033800fbc0d1a1eb08efdc145ea6b9b"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#ac148c0c39b3ace207e92ea35fb55cf3d">toDouble</a> (const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &theString, MemoryManager &theManager) |
| <dl class="el"><dd class="mdescRight">Convert a string to a double value. <a href="#ac148c0c39b3ace207e92ea35fb55cf3d"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#a203a249b9211c34011f2d83a4a30cf9c">toDouble</a> (const XalanDOMChar *theString, MemoryManager &theManager) |
| <dl class="el"><dd class="mdescRight">Convert a string to a double value. <a href="#a203a249b9211c34011f2d83a4a30cf9c"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#afb0fd154a02389981849b08a4e4a08fc">round</a> (double theValue) |
| <dl class="el"><dd class="mdescRight">Round a number according to the <a class="el" href="classXPath.html">XPath</a> rules. <a href="#afb0fd154a02389981849b08a4e4a08fc"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#ab3dc149b5ac78e6fb0de39a21f1eaf9c">ceiling</a> (double theValue) |
| <dl class="el"><dd class="mdescRight">Returns the ceiling of a number according to the <a class="el" href="classXPath.html">XPath</a> rules. <a href="#ab3dc149b5ac78e6fb0de39a21f1eaf9c"></a><br/></dl><li>static double <a class="el" href="classDoubleSupport.html#a331b5daf60da2e6107f55741641c50bf">floor</a> (double theValue) |
| <dl class="el"><dd class="mdescRight">Returns the floor of a number according to the <a class="el" href="classXPath.html">XPath</a> rules. <a href="#a331b5daf60da2e6107f55741641c50bf"></a><br/></dl></ul> |
| <hr/><a name="_details"></a><h2>Detailed Description</h2> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00049">49</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| <hr/><h2>Member Function Documentation</h2> |
| <a class="anchor" id="a3bcdf00ef7fb6cc65e2229f9083bc59c"></a><!-- doxytag: member="DoubleSupport::abs" ref="a3bcdf00ef7fb6cc65e2229f9083bc59c" args="(double theDouble)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::abs </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theDouble</em></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Return the absolute value of theDouble. </p> |
| <p>If theDouble is NaN, NaN is returned</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theDouble</em> </td><td>a number to fabs </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the fabs </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa02bca1b2607c06ccd62e638eb29f435"></a><!-- doxytag: member="DoubleSupport::add" ref="aa02bca1b2607c06ccd62e638eb29f435" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::add </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Add two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to add </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to add </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the addition </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ab3dc149b5ac78e6fb0de39a21f1eaf9c"></a><!-- doxytag: member="DoubleSupport::ceiling" ref="ab3dc149b5ac78e6fb0de39a21f1eaf9c" args="(double theValue)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::ceiling </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theValue</em></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Returns the ceiling of a number according to the <a class="el" href="classXPath.html">XPath</a> rules. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theValue</em> </td><td>The value to round. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>The result of the rounding </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00589">589</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad9fcad1d4d0517ce517b10e0f182bc4b"></a><!-- doxytag: member="DoubleSupport::divide" ref="ad9fcad1d4d0517ce517b10e0f182bc4b" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::divide </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Divide two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to divide </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to divide </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the division </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a220ceebf1e93fdd491684fe82f229a97"></a><!-- doxytag: member="DoubleSupport::equal" ref="a220ceebf1e93fdd491684fe82f229a97" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::equal </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Compare two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to compare </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to compare </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the compare </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a331b5daf60da2e6107f55741641c50bf"></a><!-- doxytag: member="DoubleSupport::floor" ref="a331b5daf60da2e6107f55741641c50bf" args="(double theValue)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::floor </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theValue</em></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Returns the floor of a number according to the <a class="el" href="classXPath.html">XPath</a> rules. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theValue</em> </td><td>The value to round. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>The result of the rounding </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00606">606</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af839b75f64fbbd0b96207f7cb5fe8b37"></a><!-- doxytag: member="DoubleSupport::getNaN" ref="af839b75f64fbbd0b96207f7cb5fe8b37" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::getNaN </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Double value that represents "not a number". </p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>"not a number" value </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00148">148</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="afae4039d63ecb93a4057acd6345aacad"></a><!-- doxytag: member="DoubleSupport::getNegativeInfinity" ref="afae4039d63ecb93a4057acd6345aacad" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::getNegativeInfinity </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Double value that represents negative infinity. </p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>negative infinity value </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00170">170</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae73d28fa0c511a33ef2915884214f86b"></a><!-- doxytag: member="DoubleSupport::getPositiveInfinity" ref="ae73d28fa0c511a33ef2915884214f86b" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::getPositiveInfinity </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Double value that represents positive infinity. </p> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>positive infinity value </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00159">159</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ab6a4326dd30eddd92d3635861e1d0b52"></a><!-- doxytag: member="DoubleSupport::greaterThan" ref="ab6a4326dd30eddd92d3635861e1d0b52" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::greaterThan </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Compare two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to compare </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to compare </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the compare </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a230b7fc15cdf3abed04df2be51442a6e"></a><!-- doxytag: member="DoubleSupport::greaterThanOrEqual" ref="a230b7fc15cdf3abed04df2be51442a6e" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::greaterThanOrEqual </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Compare two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to compare </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to compare </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the compare </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa9f3f43991458153ccbe37d6c3352690"></a><!-- doxytag: member="DoubleSupport::initialize" ref="aa9f3f43991458153ccbe37d6c3352690" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static void DoubleSupport::initialize </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Perform static initialization. </p> |
| <p>See class <a class="el" href="classPlatformSupportInit.html">PlatformSupportInit</a>. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0b9244a041282ab8cf93488485774439"></a><!-- doxytag: member="DoubleSupport::isNaN" ref="a0b9244a041282ab8cf93488485774439" args="(double theNumber)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::isNaN </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theNumber</em></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine if target is not a number. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theNumber</em> </td><td>target number </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if target represents the "not a number" value </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00078">78</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a58be33f5268a6a15677b751c66d17f38"></a><!-- doxytag: member="DoubleSupport::isNegativeInfinity" ref="a58be33f5268a6a15677b751c66d17f38" args="(double theNumber)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::isNegativeInfinity </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theNumber</em></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine if target is negative infinity. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theNumber</em> </td><td>target number </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if target represents the value for negative infinity </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00108">108</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad8c454634dce5f10bc92eebbbc66f4c1"></a><!-- doxytag: member="DoubleSupport::isNegativeZero" ref="ad8c454634dce5f10bc92eebbbc66f4c1" args="(double theNumber)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::isNegativeZero </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theNumber</em></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine if target is negative 0. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theNumber</em> </td><td>target number </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if target represents the value for negative 0 </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00132">132</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af27e366b5f2a7ac3d95cdfbd670de033"></a><!-- doxytag: member="DoubleSupport::isPositiveInfinity" ref="af27e366b5f2a7ac3d95cdfbd670de033" args="(double theNumber)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::isPositiveInfinity </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theNumber</em></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine if target is positive infinity. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theNumber</em> </td><td>target number </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if target represents the value for positive infinity </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00096">96</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a143f860115c3127637ea2f357343840f"></a><!-- doxytag: member="DoubleSupport::isPositiveZero" ref="a143f860115c3127637ea2f357343840f" args="(double theNumber)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::isPositiveZero </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theNumber</em></td> |
| <td> ) </td> |
| <td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine if target is positive 0. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theNumber</em> </td><td>target number </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if target represents the value for positive 0. </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00120">120</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a1033800fbc0d1a1eb08efdc145ea6b9b"></a><!-- doxytag: member="DoubleSupport::isValid" ref="a1033800fbc0d1a1eb08efdc145ea6b9b" args="(const XalanDOMChar *theString)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::isValid </td> |
| <td>(</td> |
| <td class="paramtype">const XalanDOMChar * </td> |
| <td class="paramname"> <em>theString</em></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine whether or not a string contains a valid floating point number. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theString</em> </td><td>The string to check. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if the string is valid, false if not. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a212bcd95542c9d37eda9527f50459347"></a><!-- doxytag: member="DoubleSupport::isValid" ref="a212bcd95542c9d37eda9527f50459347" args="(const XalanDOMString &theString)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::isValid </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theString</em></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine whether or not a string contains a valid floating point number. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theString</em> </td><td>The string to check. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>true if the string is valid, false if not. </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af460e7143de19d10813ab7b9345c6df1"></a><!-- doxytag: member="DoubleSupport::lessThan" ref="af460e7143de19d10813ab7b9345c6df1" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::lessThan </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Compare two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to compare </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to compare </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the compare </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aef70869ade4d1a9cd36a3158a3ef23f5"></a><!-- doxytag: member="DoubleSupport::lessThanOrEqual" ref="aef70869ade4d1a9cd36a3158a3ef23f5" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::lessThanOrEqual </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Compare two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to compare </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to compare </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the compare </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ab6234be7bb5eddbfbd228ea3ab769408"></a><!-- doxytag: member="DoubleSupport::modulus" ref="ab6234be7bb5eddbfbd228ea3ab769408" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::modulus </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine the modulus two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to divide </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to divide </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the modulus </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae95bc5f2ad1cf9c090de3b88fac465f5"></a><!-- doxytag: member="DoubleSupport::multiply" ref="ae95bc5f2ad1cf9c090de3b88fac465f5" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::multiply </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Multiply two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to multiply </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to multiply </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the multiplication </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a4e4122fc3db9c805864626f95bca3ecd"></a><!-- doxytag: member="DoubleSupport::negative" ref="a4e4122fc3db9c805864626f95bca3ecd" args="(double theDouble)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::negative </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theDouble</em></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Determine the negative of a double value, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theDouble</em> </td><td>a number to negate </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the negation </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a3bc5a5d8ba58e0682a904d120e655fdd"></a><!-- doxytag: member="DoubleSupport::notEqual" ref="a3bc5a5d8ba58e0682a904d120e655fdd" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static bool DoubleSupport::notEqual </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [inline, static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Compare two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to compare </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to compare </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the compare </dd></dl> |
| |
| <p>Definition at line <a class="el" href="DoubleSupport_8hpp_source.html#l00197">197</a> of file <a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="afb0fd154a02389981849b08a4e4a08fc"></a><!-- doxytag: member="DoubleSupport::round" ref="afb0fd154a02389981849b08a4e4a08fc" args="(double theValue)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::round </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theValue</em></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Round a number according to the <a class="el" href="classXPath.html">XPath</a> rules. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theValue</em> </td><td>The value to round. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>The result of the rounding </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aba5aac04f68d999677da37616d65950a"></a><!-- doxytag: member="DoubleSupport::subtract" ref="aba5aac04f68d999677da37616d65950a" args="(double theLHS, double theRHS)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::subtract </td> |
| <td>(</td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theLHS</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">double </td> |
| <td class="paramname"> <em>theRHS</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Subtract two double values, taking into account the fact that we must support IEEE 754. </p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theLHS</em> </td><td>a number to subtract </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theRHS</em> </td><td>a number to subtract </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>the result of the subtraction </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a48a075fff441f3cbf3ff7671f92348a7"></a><!-- doxytag: member="DoubleSupport::terminate" ref="a48a075fff441f3cbf3ff7671f92348a7" args="()" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static void DoubleSupport::terminate </td> |
| <td>(</td> |
| <td class="paramname"></td> |
| <td> ) </td> |
| <td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Perform static shut down. </p> |
| <p>See class <a class="el" href="classPlatformSupportInit.html">PlatformSupportInit</a>. </p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a203a249b9211c34011f2d83a4a30cf9c"></a><!-- doxytag: member="DoubleSupport::toDouble" ref="a203a249b9211c34011f2d83a4a30cf9c" args="(const XalanDOMChar *theString, MemoryManager &theManager)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::toDouble </td> |
| <td>(</td> |
| <td class="paramtype">const XalanDOMChar * </td> |
| <td class="paramname"> <em>theString</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">MemoryManager & </td> |
| <td class="paramname"> <em>theManager</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Convert a string to a double value. </p> |
| <p>Returns NaN if the string is not a valid floating point number.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theString</em> </td><td>The string to convert. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theManager</em> </td><td>The MemoryManager instance to use. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>The result of the conversion </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac148c0c39b3ace207e92ea35fb55cf3d"></a><!-- doxytag: member="DoubleSupport::toDouble" ref="ac148c0c39b3ace207e92ea35fb55cf3d" args="(const XalanDOMString &theString, MemoryManager &theManager)" --> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static double DoubleSupport::toDouble </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> & </td> |
| <td class="paramname"> <em>theString</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">MemoryManager & </td> |
| <td class="paramname"> <em>theManager</em></td><td> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td><td><code> [static]</code></td> |
| </tr> |
| </table> |
| </div> |
| <div class="memdoc"> |
| |
| <p>Convert a string to a double value. </p> |
| <p>Returns NaN if the string is not a valid floating point number.</p> |
| <dl><dt><b>Parameters:</b></dt><dd> |
| <table border="0" cellspacing="2" cellpadding="0"> |
| <tr><td valign="top"></td><td valign="top"><em>theString</em> </td><td>The string to convert. </td></tr> |
| <tr><td valign="top"></td><td valign="top"><em>theManager</em> </td><td>The MemoryManager instance to use. </td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="return"><dt><b>Returns:</b></dt><dd>The result of the conversion </dd></dl> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="DoubleSupport_8hpp_source.html">DoubleSupport.hpp</a></li> |
| </ul> |
| </div> |
| <p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p> |
| <p><font color="#000000" face="arial,helvetica,sanserif" size="-1"> |
| <i><a href="http://www.doxygen.org/">Doxygen</a> and |
| <a href="http://www.graphviz.org/">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="80%"> |
| <tr> |
| <td width="80%" valign="top"> |
| <p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/> |
| Copyright © 1999-2012 The Apache Software Foundation.<br/> |
| All Rights Reserved.</p> |
| </td> |
| </tr> |
| <tr> |
| <td width="100%"> |
| <p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo"> |
| </td> |
| </tr> |
| </table> |
| </body> |
| </html> |