|
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. More... | |
| static void | terminate () |
| Perform static shut down. More... | |
| static bool | isNaN (double theNumber) |
| Determine if target is not a number. More... | |
| static bool | isPositiveInfinity (double theNumber) |
| Determine if target is positive infinity. More... | |
| static bool | isNegativeInfinity (double theNumber) |
| Determine if target is negative infinity. More... | |
| static bool | isPositiveZero (double theNumber) |
| Determine if target is positive 0. More... | |
| static bool | isNegativeZero (double theNumber) |
| Determine if target is negative 0. More... | |
| static double | getNaN () |
| Double value that represents "not a number". More... | |
| static double | getPositiveInfinity () |
| Double value that represents positive infinity. More... | |
| static double | getNegativeInfinity () |
| Double value that represents negative infinity. More... | |
| static bool | equal (double theLHS, double theRHS) |
| Compare two double values, taking into account the fact that we must support IEEE 754. More... | |
| static bool | notEqual (double theLHS, double theRHS) |
| Compare two double values, taking into account the fact that we must support IEEE 754. More... | |
| static bool | lessThan (double theLHS, double theRHS) |
| Compare two double values, taking into account the fact that we must support IEEE 754. More... | |
| static bool | lessThanOrEqual (double theLHS, double theRHS) |
| Compare two double values, taking into account the fact that we must support IEEE 754. More... | |
| static bool | greaterThan (double theLHS, double theRHS) |
| Compare two double values, taking into account the fact that we must support IEEE 754. More... | |
| static bool | greaterThanOrEqual (double theLHS, double theRHS) |
| Compare two double values, taking into account the fact that we must support IEEE 754. More... | |
| static double | add (double theLHS, double theRHS) |
| Add two double values, taking into account the fact that we must support IEEE 754. More... | |
| static double | subtract (double theLHS, double theRHS) |
| Subtract two double values, taking into account the fact that we must support IEEE 754. More... | |
| static double | multiply (double theLHS, double theRHS) |
| Multiply two double values, taking into account the fact that we must support IEEE 754. More... | |
| static double | divide (double theLHS, double theRHS) |
| Divide two double values, taking into account the fact that we must support IEEE 754. More... | |
| static double | modulus (double theLHS, double theRHS) |
| Determine the modulus two double values, taking into account the fact that we must support IEEE 754. More... | |
| static double | negative (double theDouble) |
| Determine the negative of a double value, taking into account the fact that we must support IEEE 754. More... | |
| static double | abs (double theDouble) |
| Return the absolute value of theDouble. More... | |
| static bool | isValid (const XalanDOMString &theString) |
| Determine whether or not a string contains a valid floating point number. More... | |
| static bool | isValid (const XalanDOMChar *theString) |
| Determine whether or not a string contains a valid floating point number. More... | |
| static double | toDouble (const XalanDOMString &theString, MemoryManager &theManager) |
| Convert a string to a double value. More... | |
| static double | toDouble (const XalanDOMChar *theString, MemoryManager &theManager) |
| Convert a string to a double value. More... | |
| static double | round (double theValue) |
| Round a number according to the XPath rules. More... | |
| static double | ceiling (double theValue) |
| Returns the ceiling of a number according to the XPath rules. More... | |
| static double | floor (double theValue) |
| Returns the floor of a number according to the XPath rules. More... | |
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 |
|
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.
|
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 |
|
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 |
|
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.
|
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.
|
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 |
|
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 |
|
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.
|
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 |
|
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 |
|
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 |
|
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 |
|
static |
Determine the negative of a double value, taking into account the fact that we must support IEEE 754.
| theDouble | a number to negate |
|
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.
|
static |
Round a number according to the XPath rules.
| theValue | The value to round. |
|
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 |
|
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. |
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:30 for Xalan-C++ API Reference by
1.8.17