Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Floating-point numbers

TReal is a 64-bit double-precision type, used as the argument type for all math functions, and the default type of floating-point literals.

TReal64 and TReal32 are available when the precise size is important.

Symbian OS floating-point arithmetic conforms to the IEEE754 specification.

Most Symbian OS implementations do not have hardware floating-point support. As a result, floating-point arithmetic is noticeably less efficient than integer arithmetic. It should be avoided unless demanded by the problem type.