![Symbian OS Library](../../../../a_stock/mainheading.gif)
![]() |
![]() |
|
Location:
e32def.h
typedef double TReal;
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.