Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32def.h

Typedef TReal

typedef double TReal;

Support

Supported from 5.0

Description

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 EPOC 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 also: