Xalan-C++ API Reference 1.12.0
|
#include <xalanc/PlatformSupport/DoubleSupport.hpp>
Classes | |
struct | addFunction |
struct | divideFunction |
struct | equalFunction |
struct | greaterThanFunction |
struct | greaterThanOrEqualFunction |
struct | lessThanFunction |
struct | lessThanOrEqualFunction |
struct | modulusFunction |
struct | multiplyFunction |
struct | negativeFunction |
struct | notEqualFunction |
union | NumberUnion |
struct | subtractFunction |
Static Public Member Functions | |
static void | initialize () |
Perform static initialization. | |
static void | terminate () |
Perform static shut down. | |
static bool | isNaN (double theNumber) |
Determine if target is not a number. | |
static bool | isPositiveInfinity (double theNumber) |
Determine if target is positive infinity. | |
static bool | isNegativeInfinity (double theNumber) |
Determine if target is negative infinity. | |
static bool | isPositiveZero (double theNumber) |
Determine if target is positive 0. | |
static bool | isNegativeZero (double theNumber) |
Determine if target is negative 0. | |
static double | getNaN () |
Double value that represents "not a number". | |
static double | getPositiveInfinity () |
Double value that represents positive infinity. | |
static double | getNegativeInfinity () |
Double value that represents negative infinity. | |
static bool | equal (double theLHS, double theRHS) |
Compare two double values, taking into account the fact that we must support IEEE 754. | |
static bool | notEqual (double theLHS, double theRHS) |
Compare two double values, taking into account the fact that we must support IEEE 754. | |
static bool | lessThan (double theLHS, double theRHS) |
Compare two double values, taking into account the fact that we must support IEEE 754. | |
static bool | lessThanOrEqual (double theLHS, double theRHS) |
Compare two double values, taking into account the fact that we must support IEEE 754. | |
static bool | greaterThan (double theLHS, double theRHS) |
Compare two double values, taking into account the fact that we must support IEEE 754. | |
static bool | greaterThanOrEqual (double theLHS, double theRHS) |
Compare two double values, taking into account the fact that we must support IEEE 754. | |
static double | add (double theLHS, double theRHS) |
Add two double values, taking into account the fact that we must support IEEE 754. | |
static double | subtract (double theLHS, double theRHS) |
Subtract two double values, taking into account the fact that we must support IEEE 754. | |
static double | multiply (double theLHS, double theRHS) |
Multiply two double values, taking into account the fact that we must support IEEE 754. | |
static double | divide (double theLHS, double theRHS) |
Divide two double values, taking into account the fact that we must support IEEE 754. | |
static double | modulus (double theLHS, double theRHS) |
Determine the modulus two double values, taking into account the fact that we must support IEEE 754. | |
static double | negative (double theDouble) |
Determine the negative of a double value, taking into account the fact that we must support IEEE 754. | |
static double | abs (double theDouble) |
Return the absolute value of theDouble. | |
static bool | isValid (const XalanDOMString &theString) |
Determine whether or not a string contains a valid floating point number. | |
static bool | isValid (const XalanDOMChar *theString) |
Determine whether or not a string contains a valid floating point number. | |
static double | toDouble (const XalanDOMString &theString, MemoryManager &theManager) |
Convert a string to a double value. | |
static double | toDouble (const XalanDOMChar *theString, MemoryManager &theManager) |
Convert a string to a double value. | |
static double | round (double theValue) |
Round a number according to the XPath rules. | |
static double | ceiling (double theValue) |
Returns the ceiling of a number according to the XPath rules. | |
static double | floor (double theValue) |
Returns the floor of a number according to the XPath rules. |
Definition at line 54 of file DoubleSupport.hpp.
|
static |
Return the absolute value of theDouble.
If theDouble is NaN, NaN is returned
theDouble | a number to fabs |
|
static |
Add two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to add |
theRHS | a number to add |
Referenced by xalanc::DoubleSupport::addFunction::operator()().
|
inlinestatic |
Returns the ceiling of a number according to the XPath rules.
theValue | The value to round. |
Definition at line 548 of file DoubleSupport.hpp.
Referenced by xalanc::XPath::functionCeiling().
|
static |
Divide two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to divide |
theRHS | a number to divide |
Referenced by xalanc::DoubleSupport::divideFunction::operator()().
|
static |
Compare two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to compare |
theRHS | a number to compare |
Referenced by xalanc::XObject::boolean(), notEqual(), and xalanc::DoubleSupport::equalFunction::operator()().
|
inlinestatic |
Returns the floor of a number according to the XPath rules.
theValue | The value to round. |
Definition at line 561 of file DoubleSupport.hpp.
Referenced by xalanc::XPath::functionFloor().
|
inlinestatic |
Double value that represents "not a number".
Definition at line 155 of file DoubleSupport.hpp.
|
inlinestatic |
Double value that represents negative infinity.
Definition at line 177 of file DoubleSupport.hpp.
Referenced by xalanc::XPath::getMatchScoreValue().
|
inlinestatic |
Double value that represents positive infinity.
Definition at line 166 of file DoubleSupport.hpp.
|
static |
Compare two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to compare |
theRHS | a number to compare |
Referenced by xalanc::DoubleSupport::greaterThanFunction::operator()().
|
static |
Compare two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to compare |
theRHS | a number to compare |
Referenced by xalanc::DoubleSupport::greaterThanOrEqualFunction::operator()().
|
static |
Perform static initialization.
See class PlatformSupportInit.
|
inlinestatic |
Determine if target is not a number.
theNumber | target number |
Definition at line 83 of file DoubleSupport.hpp.
Referenced by xalanc::XObject::boolean().
|
inlinestatic |
Determine if target is negative infinity.
theNumber | target number |
Definition at line 115 of file DoubleSupport.hpp.
|
inlinestatic |
Determine if target is negative 0.
theNumber | target number |
Definition at line 139 of file DoubleSupport.hpp.
|
inlinestatic |
Determine if target is positive infinity.
theNumber | target number |
Definition at line 103 of file DoubleSupport.hpp.
|
inlinestatic |
Determine if target is positive 0.
theNumber | target number |
Definition at line 127 of file DoubleSupport.hpp.
|
static |
Determine whether or not a string contains a valid floating point number.
theString | The string to check. |
|
static |
Determine whether or not a string contains a valid floating point number.
theString | The string to check. |
|
static |
Compare two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to compare |
theRHS | a number to compare |
Referenced by xalanc::DoubleSupport::lessThanFunction::operator()().
|
static |
Compare two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to compare |
theRHS | a number to compare |
Referenced by xalanc::DoubleSupport::lessThanOrEqualFunction::operator()().
|
static |
Determine the modulus two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to divide |
theRHS | a number to divide |
Referenced by xalanc::DoubleSupport::modulusFunction::operator()().
|
static |
Multiply two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to multiply |
theRHS | a number to multiply |
Referenced by xalanc::DoubleSupport::multiplyFunction::operator()().
|
static |
Determine the negative of a double value, taking into account the fact that we must support IEEE 754.
theDouble | a number to negate |
Referenced by xalanc::DoubleSupport::negativeFunction::operator()().
|
inlinestatic |
Compare two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to compare |
theRHS | a number to compare |
Definition at line 204 of file DoubleSupport.hpp.
References equal().
Referenced by xalanc::DoubleSupport::notEqualFunction::operator()().
|
static |
Round a number according to the XPath rules.
theValue | The value to round. |
Referenced by xalanc::XPath::functionRound().
|
static |
Subtract two double values, taking into account the fact that we must support IEEE 754.
theLHS | a number to subtract |
theRHS | a number to subtract |
Referenced by xalanc::DoubleSupport::subtractFunction::operator()().
|
static |
Perform static shut down.
See class PlatformSupportInit.
|
static |
Convert a string to a double value.
Returns NaN if the string is not a valid floating point number.
theString | The string to convert. |
theManager | The MemoryManager instance to use. |
|
static |
Convert a string to a double value.
Returns NaN if the string is not a valid floating point number.
theString | The string to convert. |
theManager | The MemoryManager instance to use. |
Referenced by xalanc::XPathExpression::insertToken(), xalanc::XObject::number(), xalanc::XPathExpression::pushToken(), and xalanc::XPathExpression::replaceRelativeToken().
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on for Xalan-C++ API Reference by