×
Namespaces

Variants
Actions
Revision as of 21:35, 27 October 2008 by extkbeditor2 (Talk | contribs)

Archived:Data type 'long double' lacks precision on Symbian (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Template:KBKI


Article Metadata
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1 and FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: (12 Jun 2008)
Last edited: extkbeditor2 (27 Oct 2008)

Description

C++ code that uses the long double floating point data type might not have the desired precision when used on S60/Open C.

Solution

No known solution. Symbian does not support the long double data type, typically implemented as an 80-bit extended precision type. On Symbian, the TReal class (equivalent to double) 64-bit data type provides a range from about 2.225074 × 10–308 to about 1.797693 × 10+308, and an accuracy of 15 decimal places.

56 page views in the last 30 days.
×