Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan-C++ XSL Transformer Version 1.0
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
DoubleSupport Class Reference
#include <DoubleSupport.hpp>
List of all members.
Static Public Methods
- bool isNaN (double theNumber)
- Determine if target is not a number. More...
- bool isPositiveInfinity (double theNumber)
- Determine if target is positive infinity. More...
- bool isNegativeInfinity (double theNumber)
- Determine if target is negative infinity. More...
- double getNaN ()
- Double value that represents "not a number". More...
- double getPositiveInfinity ()
- Double value that represents positive infinity. More...
- double getNegativeInfinity ()
- Double value that represents negative infinity. More...
- bool equal ( double theLHS, double theRHS)
- Compare two double values, taking into account the fact that we must support IEEE 754. More...
- bool notEqual ( double theLHS, double theRHS)
- Compare two double values, taking into account the fact that we must support IEEE 754. More...
- bool lessThan ( double theLHS, double theRHS)
- Compare two double values, taking into account the fact that we must support IEEE 754. More...
- bool lessThanOrEqual ( double theLHS, double theRHS)
- Compare two double values, taking into account the fact that we must support IEEE 754. More...
- bool greaterThan ( double theLHS, double theRHS)
- Compare two double values, taking into account the fact that we must support IEEE 754. More...
- bool greaterThanOrEqual ( double theLHS, double theRHS)
- Compare two double values, taking into account the fact that we must support IEEE 754. More...
- double add ( double theLHS, double theRHS)
- Add two double values, taking into account the fact that we must support IEEE 754. More...
- double subtract ( double theLHS, double theRHS)
- Subtract two double values, taking into account the fact that we must support IEEE 754. More...
- double multiply ( double theLHS, double theRHS)
- Multiply two double values, taking into account the fact that we must support IEEE 754. More...
- double divide ( double theLHS, double theRHS)
- Divide two double values, taking into account the fact that we must support IEEE 754. More...
- double modulus ( double theLHS, double theRHS)
- Determine the modulus two double values, taking into account the fact that we must support IEEE 754. More...
- double negative (double theDouble)
- Determine the negative of a double value, taking into account the fact that we must support IEEE 754. More...
- double toDouble (const XalanDOMString& theString)
- double toDouble (const XalanDOMChar* theString)
Detailed Description
Member Function Documentation
double DoubleSupport::add (
|
double theLHS, |
|
double theRHS) [static] |
|
Add two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to add
|
theRHS
|
a number to add
|
-
Returns:
-
the result of the addition
double DoubleSupport::divide (
|
double theLHS, |
|
double theRHS) [static] |
|
Divide two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to divide
|
theRHS
|
a number to divide
|
-
Returns:
-
the result of the division
bool DoubleSupport::equal (
|
double theLHS, |
|
double theRHS) [static] |
|
Compare two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to compare
|
theRHS
|
a number to compare
|
-
Returns:
-
the result of the compare
double DoubleSupport::getNaN () [static] |
|
Double value that represents "not a number".
-
Returns:
-
"not a number" value
double DoubleSupport::getNegativeInfinity () [static] |
|
Double value that represents negative infinity.
-
Returns:
-
negative infinity value
double DoubleSupport::getPositiveInfinity () [static] |
|
Double value that represents positive infinity.
-
Returns:
-
positive infinity value
bool DoubleSupport::greaterThan (
|
double theLHS, |
|
double theRHS) [static] |
|
Compare two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to compare
|
theRHS
|
a number to compare
|
-
Returns:
-
the result of the compare
bool DoubleSupport::greaterThanOrEqual (
|
double theLHS, |
|
double theRHS) [static] |
|
Compare two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to compare
|
theRHS
|
a number to compare
|
-
Returns:
-
the result of the compare
bool DoubleSupport::isNaN (
|
double theNumber) [static] |
|
Determine if target is not a number.
-
Parameters:
-
-
Returns:
-
true if target represents the "not a number" value
bool DoubleSupport::isNegativeInfinity (
|
double theNumber) [static] |
|
Determine if target is negative infinity.
-
Parameters:
-
-
Returns:
-
true if target represents the value for negative infinity
bool DoubleSupport::isPositiveInfinity (
|
double theNumber) [static] |
|
Determine if target is positive infinity.
-
Parameters:
-
-
Returns:
-
true if target represents the value for positive infinity
bool DoubleSupport::lessThan (
|
double theLHS, |
|
double theRHS) [static] |
|
Compare two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to compare
|
theRHS
|
a number to compare
|
-
Returns:
-
the result of the compare
bool DoubleSupport::lessThanOrEqual (
|
double theLHS, |
|
double theRHS) [static] |
|
Compare two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to compare
|
theRHS
|
a number to compare
|
-
Returns:
-
the result of the compare
double DoubleSupport::modulus (
|
double theLHS, |
|
double theRHS) [static] |
|
Determine the modulus two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to divide
|
theRHS
|
a number to divide
|
-
Returns:
-
the result of the modulus
double DoubleSupport::multiply (
|
double theLHS, |
|
double theRHS) [static] |
|
Multiply two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to multiply
|
theRHS
|
a number to multiply
|
-
Returns:
-
the result of the multiplication
double DoubleSupport::negative (
|
double theDouble) [static] |
|
Determine the negative of a double value, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theDouble
|
a number to negate
|
-
Returns:
-
the result of the negation
bool DoubleSupport::notEqual (
|
double theLHS, |
|
double theRHS) [static] |
|
Compare two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to compare
|
theRHS
|
a number to compare
|
-
Returns:
-
the result of the compare
double DoubleSupport::subtract (
|
double theLHS, |
|
double theRHS) [static] |
|
Subtract two double values, taking into account the fact that we must support IEEE 754.
-
Parameters:
-
theLHS
|
a number to subtract
|
theRHS
|
a number to subtract
|
-
Returns:
-
the result of the subtraction
double DoubleSupport::toDouble (
|
const XalanDOMChar * theString) [static] |
|
double DoubleSupport::toDouble (
|
const XalanDOMString & theString) [static] |
|
The documentation for this class was generated from the following file:
Interpreting class diagrams
Doxygen and
GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.
|
|