#include <NumberStringClass.hpp>
Public Attributes | |
RexxString * | stringObject |
short | NumFlags |
short | sign |
size_t | NumDigits |
wholenumber_t | exp |
size_t | length |
Public Attributes inherited from RexxInternalObject | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
Additional Inherited Members | |
Static Public Member Functions inherited from RexxObject | |
static void | decodeMessageName (RexxObject *target, RexxObject *message, RexxString *&messageName, RexxObject *&startScope) |
static void | createInstance () |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Static Public Attributes inherited from RexxObject | |
static PCPPM | operatorMethods [] |
static RexxClass * | classInstance = OREF_NULL |
Protected Member Functions inherited from RexxVirtualBase | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Definition at line 77 of file NumberStringClass.hpp.
|
inline |
Definition at line 79 of file NumberStringClass.hpp.
Referenced by RexxNumberString::dividePower(), and RexxNumberString::Division().
char * RexxNumberStringBase::adjustNumber | ( | char * | NumPtr, |
char * | result, | ||
size_t | resultLen, | ||
size_t | NumberDigits | ||
) |
Definition at line 275 of file NumberStringMath.cpp.
References exp, length, mathRound(), and stripLeadingZeros().
void RexxNumberStringBase::mathRound | ( | char * | NumPtr | ) |
Definition at line 154 of file NumberStringMath.cpp.
References Numerics::DEFAULT_DIGITS, Error_Overflow_expoverflow, Error_Overflow_expunderflow, exp, length, Numerics::MAX_EXPONENT, Numerics::MIN_EXPONENT, and reportException().
Referenced by adjustNumber(), RexxNumberString::adjustPrecision(), RexxNumberString::Division(), RexxNumberString::formatInternal(), and RexxNumberString::prepareNumber().
char * RexxNumberStringBase::stripLeadingZeros | ( | char * | AccumPtr | ) |
Definition at line 309 of file NumberStringMath.cpp.
References length.
Referenced by adjustNumber(), RexxNumberString::adjustPrecision(), and RexxNumberString::dividePower().
wholenumber_t RexxNumberStringBase::exp |
Definition at line 89 of file NumberStringClass.hpp.
Referenced by RexxNumberString::addSub(), adjustNumber(), RexxNumberString::adjustPrecision(), RexxNumberString::ceilingInternal(), RexxNumberString::checkIntegerDigits(), RexxNumberString::comp(), RexxNumberString::d2xD2c(), RexxNumberString::dividePower(), RexxNumberString::Division(), RexxNumberString::floorInternal(), RexxNumberString::format(), RexxNumberString::formatInternal(), RexxNumberString::int64Value(), RexxNumberString::logicalValue(), mathRound(), RexxNumberString::Multiply(), RexxNumberString::multiplyPower(), RexxNumberString::numberValue(), RexxNumberString::power(), RexxNumberString::prepareNumber(), RexxNumberString::roundInternal(), RexxNumberString::roundUp(), RexxNumberString::setZero(), RexxNumberString::stringValue(), RexxNumberString::truncInternal(), RexxNumberString::truthValue(), RexxNumberString::unsignedInt64Value(), and RexxNumberString::unsignedNumberValue().
size_t RexxNumberStringBase::length |
Definition at line 90 of file NumberStringClass.hpp.
Referenced by RexxNumberString::addSub(), adjustNumber(), RexxNumberString::adjustPrecision(), RexxNumberString::ceilingInternal(), RexxNumberString::checkIntegerDigits(), RexxNumberString::checkNumber(), RexxNumberString::checkPrecision(), RexxNumberString::comp(), RexxNumberString::d2xD2c(), RexxNumberString::dividePower(), RexxNumberString::Division(), RexxNumberString::floorInternal(), RexxNumberString::format(), RexxNumberString::formatInt64(), RexxNumberString::formatInternal(), RexxNumberString::formatNumber(), RexxNumberString::formatUnsignedInt64(), RexxNumberString::formatUnsignedNumber(), RexxNumberString::int64Value(), RexxNumberString::logicalValue(), mathRound(), RexxNumberString::Multiply(), RexxNumberString::multiplyPower(), RexxNumberString::numberValue(), RexxNumberString::power(), RexxNumberString::prepareNumber(), RexxNumberString::prepareOperatorNumber(), RexxNumberString::RexxNumberString(), RexxNumberString::roundInternal(), RexxNumberString::roundUp(), RexxNumberString::setZero(), RexxNumberString::stringValue(), stripLeadingZeros(), RexxNumberString::subtractNumbers(), RexxNumberString::truncInternal(), RexxNumberString::truthValue(), RexxNumberString::unsignedInt64Value(), and RexxNumberString::unsignedNumberValue().
size_t RexxNumberStringBase::NumDigits |
Definition at line 87 of file NumberStringClass.hpp.
Referenced by RexxNumberString::adjustPrecision(), RexxNumberString::checkPrecision(), RexxNumberString::plus(), RexxNumberString::RexxNumberString(), RexxNumberString::setNumericSettings(), and RexxNumberString::stringValue().
short RexxNumberStringBase::NumFlags |
Definition at line 85 of file NumberStringClass.hpp.
Referenced by RexxNumberString::plus(), RexxNumberString::RexxNumberString(), RexxNumberString::setNumericSettings(), and RexxNumberString::stringValue().
short RexxNumberStringBase::sign |
Definition at line 86 of file NumberStringClass.hpp.
Referenced by RexxNumberString::abs(), RexxNumberString::addSub(), RexxNumberString::ceilingInternal(), RexxNumberString::comp(), RexxNumberString::d2xD2c(), RexxNumberString::Division(), RexxNumberString::floorInternal(), RexxNumberString::format(), RexxNumberString::formatInt64(), RexxNumberString::formatInternal(), RexxNumberString::formatNumber(), RexxNumberString::int64Value(), RexxNumberString::logicalValue(), RexxNumberString::minus(), RexxNumberString::Multiply(), RexxNumberString::multiplyPower(), RexxNumberString::numberValue(), RexxNumberString::power(), RexxNumberString::RexxNumberString(), RexxNumberString::roundInternal(), RexxNumberString::setZero(), RexxNumberString::Sign(), RexxNumberString::stringValue(), RexxNumberString::truncInternal(), RexxNumberString::truthValue(), RexxNumberString::unsignedInt64Value(), and RexxNumberString::unsignedNumberValue().
RexxString* RexxNumberStringBase::stringObject |
Definition at line 84 of file NumberStringClass.hpp.
Referenced by RexxNumberString::clone(), RexxNumberString::live(), RexxNumberString::liveGeneral(), RexxNumberString::plus(), RexxNumberString::primitiveMakeString(), RexxNumberString::setString(), and RexxNumberString::stringValue().