64-bit floating point number; identical to TReal64.
Use of floating-point numbers should generally be avoided unless a natural
part of the problem specification. Most Symbian OS implementations do not
have a hardware floating point unit: as a result, their floating-point performance
is hundreds of times slower than integer performance.
Most serious floating-point calculations require double-precision. All standard
math functions (see Math class) take double-precision arguments. Single-precision
should only be used where space and performance are at a premium, and when
their limited precision is acceptable.
@see TReal64
@see Math
*/
typedef double TReal;
/**
@publishedAll
@released
32-bit floating point number, providing IEEE754 single precision on all Symbian
OS implementations.
TReal should normally be used in preference to TReal32.
Use of floating-point numbers should generally be avoided unless a natural
part of the problem specification. Most Symbian OS implementations do not
have a hardware floating point unit: as a result, their floating-point performance
is hundreds of times slower than integer performance.
*/
typedef float TReal32;
按理说定义为TReal64位,那么返回的经度值不应该只有6位数据呀,应该是有很多位呀。
/**
* Accessor for latitude.
* @return the latitude component of this coordinate.
*/
IMPORT_C TReal64 Latitude() const;
/**
* Accessor for longitude.
* @return the longitude component of this coordinate.
*/
IMPORT_C TReal64 Longitude() const;