class TRealX |
A class encapsulating an extended precision real value.
This class provides 64 bit precision and a dynamic range of approximately 1E-9863 to 1E+9863. All member functions are optimized for speed.
Public Member Enumerations | |
---|---|
enum | TRealXOrder { ELessThan = 1, EEqual = 2, EGreaterThan = 4, EUnordered = 8 } |
Public Attributes | |
---|---|
TUint16 | iExp |
TUint8 | iFlag |
TUint32 | iMantHi |
TUint32 | iMantLo |
TInt8 | iSign |
IMPORT_C TRealXOrder | Compare | ( | const TRealX & | aVal | ) | const |
const TRealX & aVal |
TBool | operator!= | ( | const TRealX & | aVal | ) | const [inline] |
Compares this extended precision number for in-equality with another.
True, if this extended precision number is not equal to aVal; false, otherwise.
const TRealX & aVal | A reference to the extended precision value to be compared. |
IMPORT_C TRealX | operator% | ( | const TRealX & | aVal | ) | const |
const TRealX & aVal |
IMPORT_C const TRealX & | operator%= | ( | const TRealX & | aVal | ) |
const TRealX & aVal |
IMPORT_C TRealX | operator* | ( | const TRealX & | aVal | ) | const |
const TRealX & aVal |
IMPORT_C const TRealX & | operator*= | ( | const TRealX & | aVal | ) |
const TRealX & aVal |
IMPORT_C TRealX | operator+ | ( | const TRealX & | aVal | ) | const |
const TRealX & aVal |
IMPORT_C const TRealX & | operator+= | ( | const TRealX & | aVal | ) |
const TRealX & aVal |
IMPORT_C TRealX | operator- | ( | const TRealX & | aVal | ) | const |
const TRealX & aVal |
IMPORT_C const TRealX & | operator-= | ( | const TRealX & | aVal | ) |
const TRealX & aVal |
IMPORT_C TRealX | operator/ | ( | const TRealX & | aVal | ) | const |
const TRealX & aVal |
IMPORT_C const TRealX & | operator/= | ( | const TRealX & | aVal | ) |
const TRealX & aVal |
TBool | operator< | ( | const TRealX & | aVal | ) | const [inline] |
Compares this extended precision number for being less than another.
True, if this extended precision number is less than aVal, false, otherwise.
const TRealX & aVal | A reference to the extended precision value to be compared. |
TBool | operator<= | ( | const TRealX & | aVal | ) | const [inline] |
Compares this extended precision number for being less than or equal to another.
True, if this extended precision number is less than or equal to aVal, false, otherwise.
const TRealX & aVal | A reference to the extended precision value to be compared. |
IMPORT_C TRealX & | operator= | ( | const TInt64 & | aInt | ) |
const TInt64 & aInt |
TBool | operator== | ( | const TRealX & | aVal | ) | const [inline] |
Compares this extended precision number for equality with another.
True, if this extended precision number is equal to aVal; false, otherwise.
const TRealX & aVal | A reference to the extended precision value to be compared. |
TBool | operator> | ( | const TRealX & | aVal | ) | const [inline] |
Compares this extended precision number for being greater than another.
True, if this extended precision number is greater than aVal, false, otherwise.
const TRealX & aVal | A reference to the extended precision value to be compared. |
TBool | operator>= | ( | const TRealX & | aVal | ) | const [inline] |
Compares this extended precision number for being greater than or equal to another.
True, if this extended precision number is greater than or equal to aVal, false, otherwise.
const TRealX & aVal | A reference to the extended precision value to be compared. |