sl@0: // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32test\math\t_float3.cpp sl@0: // File for T_FLOAT.CPP containing data for test5, test6, test7 and test8 sl@0: // T_FLOAT.CPP split into header files because there seems to be too much static data for GCC sl@0: // compiler sl@0: // sl@0: // sl@0: sl@0: #include "t_float.h" sl@0: #include sl@0: sl@0: GLDEF_D DtoR_TEST64 testd2[]= sl@0: { sl@0: DtoR_TEST64(_L("1.000000000000000000000001"),1.0), sl@0: DtoR_TEST64(_L("1.00000000000000000000001"),1.0), sl@0: DtoR_TEST64(_L("1.0000000000000000000001"),1.0), sl@0: DtoR_TEST64(_L("1.000000000000000000001"),1.0), sl@0: DtoR_TEST64(_L("1.0000000000000000001"),1.0), sl@0: DtoR_TEST64(_L("1.000000000000000001"),1.0), sl@0: DtoR_TEST64(_L("1.000000000000001"),1.000000000000001), sl@0: DtoR_TEST64(_L("1.0000000000000001E+10"),1.0000000000000002E+10), sl@0: DtoR_TEST64(_L("1.0000000000000001E-10"),1.0E-10), sl@0: DtoR_TEST64(_L("1.00000000000001E8"),1.00000000000001E8), sl@0: DtoR_TEST64(_L("1.00000000000001E-8"),1.00000000000001E-8), sl@0: // sl@0: DtoR_TEST64(_L("1.23412341234e-7"),1.23412341234E-7), sl@0: DtoR_TEST64(_L("0.000000123412341234"),1.23412341234E-7), sl@0: DtoR_TEST64(_L("0.0000000123412341234"),1.23412341234E-8), sl@0: // sl@0: DtoR_TEST64(_L("0.29"),0.29), sl@0: DtoR_TEST64(_L("0.2900"),0.2900), sl@0: DtoR_TEST64(_L("0.2900"),0.29), sl@0: // sl@0: DtoR_TEST64(_L("0.0"),0.0), sl@0: DtoR_TEST64(_L("1.0"),1.0), sl@0: DtoR_TEST64(_L("10.0"),10.0), sl@0: DtoR_TEST64(_L("100.0"),100.0), sl@0: DtoR_TEST64(_L("1000.0"),1000.0), sl@0: DtoR_TEST64(_L("0.1"),0.1), sl@0: DtoR_TEST64(_L("0.01"),0.01), sl@0: DtoR_TEST64(_L("0.001"),0.001), sl@0: DtoR_TEST64(_L("0.0001"),0.0001), sl@0: // sl@0: DtoR_TEST64(_L("9.99999999999999999"),9.99999999999999999), sl@0: DtoR_TEST64(_L("9.99999999999999"),9.99999999999999), sl@0: DtoR_TEST64(_L("9.9999999999999"),9.9999999999999), sl@0: DtoR_TEST64(_L("9.999999999"),9.999999999), sl@0: // sl@0: DtoR_TEST64(_L(".015"),0.015), sl@0: DtoR_TEST64(_L("1.00E-15"),1.0E-15), sl@0: DtoR_TEST64(_L("1.0E-07"),1.00E-7), sl@0: // sl@0: DtoR_TEST64(_L("1024.0"),1024.0), sl@0: DtoR_TEST64(_L("1E10"),1E10), sl@0: DtoR_TEST64(_L("1E20"),1E20), sl@0: DtoR_TEST64(_L("1E30"),1E30), sl@0: DtoR_TEST64(_L("1E40"),1E40), sl@0: DtoR_TEST64(_L("1E50"),1E50), sl@0: // DtoR_TEST64(_L("1E60"),1E60), sl@0: DtoR_TEST64(_L("1E70"),1E70), sl@0: DtoR_TEST64(_L("1E80"),1E80), sl@0: DtoR_TEST64(_L("1E90"),1E90), sl@0: DtoR_TEST64(_L("1E98"),1E98), sl@0: // DtoR_TEST64(_L("1E99"),1E99), sl@0: DtoR_TEST64(_L("1E100"),1E100), sl@0: DtoR_TEST64(_L("1E200"),1E200), sl@0: DtoR_TEST64(_L("1E300"),1E300), sl@0: DtoR_TEST64(_L("1.7976931348623157E+308"),1.7976931348623157E+308), sl@0: // sl@0: DtoR_TEST64(_L("-1024.0"),-1024.0), sl@0: DtoR_TEST64(_L("-1E10"),-1E10), sl@0: DtoR_TEST64(_L("-1E20"),-1E20), sl@0: DtoR_TEST64(_L("-1E30"),-1E30), sl@0: DtoR_TEST64(_L("-1E40"),-1E40), sl@0: DtoR_TEST64(_L("-1E50"),-1E50), sl@0: // DtoR_TEST64(_L("-1E60"),-1E60), sl@0: DtoR_TEST64(_L("-1E70"),-1E70), sl@0: DtoR_TEST64(_L("-1E80"),-1E80), sl@0: DtoR_TEST64(_L("-1E90"),-1E90), sl@0: DtoR_TEST64(_L("-1E98"),-1E98), sl@0: // DtoR_TEST64(_L("-1E99"),-1E99), sl@0: DtoR_TEST64(_L("-1E100"),-1E100), sl@0: DtoR_TEST64(_L("-1E200"),-1E200), sl@0: DtoR_TEST64(_L("-1E300"),-1E300), sl@0: DtoR_TEST64(_L("-1.7976931348623157E+308"),-1.7976931348623157E+308), sl@0: // sl@0: DtoR_TEST64(_L("123456789012345.0"),123456789012345.0), sl@0: DtoR_TEST64(_L("12345678901234567.0"),12345678901234568.0), // 54 bits. Check we are rounding up sl@0: DtoR_TEST64(_L("1.23456789012345"),1.23456789012345), sl@0: DtoR_TEST64(_L("1.2345678901234567"),1.2345678901234567), sl@0: DtoR_TEST64(_L("1.2345678901234567890"),1.2345678901234567890), sl@0: // DtoR_TEST64(_L("1.23456789012345E+38"),1.23456789012345E+38), sl@0: DtoR_TEST64(_L("1.2345678901234567E+38"),1.2345678901234567E+38), sl@0: DtoR_TEST64(_L("1.23456789012345E+299"),1.23456789012345E+299), sl@0: // DtoR_TEST64(_L("1.2345678901234567E+299"),1.2345678901234567E+299), sl@0: // DtoR_TEST64(_L("1.23456789012345E-75"),1.23456789012345E-75), sl@0: DtoR_TEST64(_L("1.2345678901234567E-75"),1.2345678901234567E-75), sl@0: DtoR_TEST64(_L("1.23456789012345E-146"),1.23456789012345E-146), sl@0: // DtoR_TEST64(_L("1.2345678901234567E-146"),1.2345678901234567E-146), sl@0: // sl@0: DtoR_TEST64(_L("1E-10"),1E-10), sl@0: // DtoR_TEST64(_L("1E-20"),1E-20), sl@0: DtoR_TEST64(_L("1E-30"),1E-30), sl@0: // DtoR_TEST64(_L("1E-40"),1E-40), sl@0: DtoR_TEST64(_L("1E-50"),1E-50), sl@0: DtoR_TEST64(_L("1E-60"),1E-60), sl@0: DtoR_TEST64(_L("1E-70"),1E-70), sl@0: DtoR_TEST64(_L("1E-80"),1E-80), sl@0: DtoR_TEST64(_L("1E-90"),1E-90), sl@0: DtoR_TEST64(_L("1E-98"),1E-98), sl@0: DtoR_TEST64(_L("1E-99"),1E-99), sl@0: // DtoR_TEST64(_L("1E-100"),1E-100), sl@0: // DtoR_TEST64(_L("1E-200"),1E-200), sl@0: DtoR_TEST64(_L("1E-300"),1E-300), sl@0: DtoR_TEST64(_L("2.2250738585072015E-308"),2.2250738585072015E-308), sl@0: // sl@0: DtoR_TEST64(_L("-1E-10"),-1E-10), sl@0: // DtoR_TEST64(_L("-1E-20"),-1E-20), sl@0: DtoR_TEST64(_L("-1E-30"),-1E-30), sl@0: // DtoR_TEST64(_L("-1E-40"),-1E-40), sl@0: DtoR_TEST64(_L("-1E-50"),-1E-50), sl@0: DtoR_TEST64(_L("-1E-60"),-1E-60), sl@0: DtoR_TEST64(_L("-1E-70"),-1E-70), sl@0: DtoR_TEST64(_L("-1E-80"),-1E-80), sl@0: DtoR_TEST64(_L("-1E-90"),-1E-90), sl@0: DtoR_TEST64(_L("-1E-98"),-1E-98), sl@0: DtoR_TEST64(_L("-1E-99"),-1E-99), sl@0: // DtoR_TEST64(_L("-1E-100"),-1E-100), sl@0: // DtoR_TEST64(_L("-1E-200"),-1E-200), sl@0: DtoR_TEST64(_L("-1E-300"),-1E-300), sl@0: DtoR_TEST64(_L("-2.2250738585072015E-308"),-2.2250738585072015E-308), sl@0: // sl@0: DtoR_TEST64(_L("+1.23"),1.23), sl@0: DtoR_TEST64(_L("003.45"),3.45), sl@0: DtoR_TEST64(_L("0.0000000000000015"),1.5E-15), sl@0: // DtoR_TEST64(_L("1.234e-40"),1.234E-40) sl@0: }; sl@0: sl@0: GLDEF_D TUint size_testd2=sizeof(testd2); sl@0: sl@0: GLDEF_D DtoR_TEST64 testApprox[]= sl@0: { sl@0: sl@0: DtoR_TEST64(_L("1.23412341234e-11"),1.23412341234E-11), sl@0: DtoR_TEST64(_L("0.0000000000123412341234"),1.23412341234E-11), sl@0: sl@0: // Pow10() exact sl@0: DtoR_TEST64(_L("1.2345678901234567E-146"),1.2345678901234567E-146), sl@0: sl@0: // Pow10() inexact sl@0: DtoR_TEST64(_L("1E-40"),1E-40), sl@0: DtoR_TEST64(_L("-1E-40"),-1E-40), sl@0: DtoR_TEST64(_L("1E60"),1E60), sl@0: DtoR_TEST64(_L("-1E60"),-1E60), sl@0: DtoR_TEST64(_L("1E-20"),1E-20), sl@0: DtoR_TEST64(_L("-1E-20"),-1E-20), sl@0: DtoR_TEST64(_L("1E99"),1E99), sl@0: DtoR_TEST64(_L("-1E99"),-1E99), sl@0: DtoR_TEST64(_L("1.2345678901234567E+299"),1.2345678901234567E+299), sl@0: DtoR_TEST64(_L("1.23456789012345E-75"),1.23456789012345E-75), sl@0: DtoR_TEST64(_L("1E-100"),1E-100), sl@0: DtoR_TEST64(_L("-1E-100"),-1E-100), sl@0: DtoR_TEST64(_L("1E-200"),1E-200), sl@0: DtoR_TEST64(_L("-1E-200"),-1E-200), sl@0: DtoR_TEST64(_L("1.234e-40"),1.234E-40), sl@0: DtoR_TEST64(_L("1.23456789012345E+38"),1.23456789012345E+38), sl@0: }; sl@0: sl@0: GLDEF_D TUint size_testApprox=sizeof(testApprox); sl@0: sl@0: GLDEF_D DtoR_TEST32 testd32[]= sl@0: { sl@0: DtoR_TEST32(_L("0.29"),0.29f), sl@0: // sl@0: DtoR_TEST32(_L("0.0"),0.0f), sl@0: DtoR_TEST32(_L("1.0"),1.0f), sl@0: DtoR_TEST32(_L("10.0"),10.0f), sl@0: DtoR_TEST32(_L("100.0"),100.0f), sl@0: DtoR_TEST32(_L("1000.0"),1000.0f), sl@0: DtoR_TEST32(_L("0.1"),0.1f), sl@0: DtoR_TEST32(_L("0.01"),0.01f), sl@0: DtoR_TEST32(_L("0.001"),0.001f), sl@0: DtoR_TEST32(_L("0.0001"),0.0001f), sl@0: // sl@0: DtoR_TEST32(_L("9.99999999999999"),10.0f), sl@0: DtoR_TEST32(_L("9.9999999"),9.99999999f), sl@0: DtoR_TEST32(_L("9.9999"),9.9999f), sl@0: // sl@0: DtoR_TEST32(_L(".015"),0.015f), sl@0: DtoR_TEST32(_L("1.00E-15"),1.0E-15f), sl@0: DtoR_TEST32(_L("1.0E-07"),1.0E-7f), sl@0: // sl@0: DtoR_TEST32(_L("1024.0"),1024.0f), sl@0: DtoR_TEST32(_L("1E10"),1E10f), sl@0: DtoR_TEST32(_L("1E20"),1E+20f), sl@0: DtoR_TEST32(_L("1E30"),1E30f), sl@0: DtoR_TEST32(_L("3.40282356E+38"),KMaxTReal32), sl@0: // sl@0: DtoR_TEST32(_L("-1024.0"),-1024.0f), sl@0: DtoR_TEST32(_L("-1E10"),-1E10f), sl@0: DtoR_TEST32(_L("-1E20"),-1E20f), sl@0: DtoR_TEST32(_L("-1E30"),-1E+30f), sl@0: DtoR_TEST32(_L("-3.40282356E+38"),-KMaxTReal32), sl@0: // sl@0: DtoR_TEST32(_L("1234567.0"),1234567.0f), sl@0: DtoR_TEST32(_L("1234567890.0"),1234567890.0f), sl@0: DtoR_TEST32(_L("1.234567"),1.234567f), sl@0: DtoR_TEST32(_L("1.234567890"),1.234567890f), sl@0: DtoR_TEST32(_L("1.23456789012"),1.23456789012f), sl@0: DtoR_TEST32(_L("1.23456E+38"),1.23456E+38f), sl@0: DtoR_TEST32(_L("1.23456789E+38"),1.23456789E+38f), sl@0: DtoR_TEST32(_L("1.23456E-13"),1.23456E-13f), sl@0: DtoR_TEST32(_L("1.23456789012E-13"),1.23456789012E-13f), sl@0: // sl@0: DtoR_TEST32(_L("1E-10"),1E-10f), sl@0: DtoR_TEST32(_L("1E-20"),1E-20f), sl@0: DtoR_TEST32(_L("1E-30"),1E-30f), sl@0: DtoR_TEST32(_L("1.17549436e-38"),1.17549436e-38f), sl@0: // sl@0: DtoR_TEST32(_L("-1E-10"),-1E-10f), sl@0: DtoR_TEST32(_L("-1E-20"),-1E-20f), sl@0: DtoR_TEST32(_L("-1E-30"),-1E-30f), sl@0: DtoR_TEST32(_L("-1.17549436e-38"),-1.17549436e-38f), sl@0: // sl@0: DtoR_TEST32(_L("+1.23"),1.23f), sl@0: DtoR_TEST32(_L("003.45"),3.45f), sl@0: DtoR_TEST32(_L("0.0000000000000015"),1.5E-15f), sl@0: DtoR_TEST32(_L("1.234e-4"),1.234E-4f) sl@0: }; sl@0: sl@0: GLDEF_D TUint size_testd32=sizeof(testd32); sl@0: sl@0: GLDEF_D DtoR_ERR_TEST testerr3[]= sl@0: { sl@0: DtoR_ERR_TEST(KNullDesC,KErrGeneral), sl@0: DtoR_ERR_TEST(_L("E-20"),KErrGeneral), sl@0: DtoR_ERR_TEST(_L("1.#INF"),KErrNone), sl@0: DtoR_ERR_TEST(_L("1.#NAN"),KErrNone), sl@0: DtoR_ERR_TEST(_L("c.fgh"),KErrGeneral), sl@0: DtoR_ERR_TEST(_L("xyz"),KErrGeneral), sl@0: DtoR_ERR_TEST(_L("1.0E"),KErrNone), sl@0: DtoR_ERR_TEST(_L("1.0E2147483648"),KErrOverflow), sl@0: DtoR_ERR_TEST(_L("1.234567801234567890E+38"),KErrNone), sl@0: DtoR_ERR_TEST(_L("3.456789012345678901E-38"),KErrNone), sl@0: DtoR_ERR_TEST(_L("3.4028236E+38"),KErrOverflow), sl@0: DtoR_ERR_TEST(_L("1.1754943E-38"),KErrNone), sl@0: DtoR_ERR_TEST(_L("1.0E-38"),KErrNone), sl@0: DtoR_ERR_TEST(_L("4.0E+38"),KErrOverflow), sl@0: DtoR_ERR_TEST(_L("1.0E-39"),KErrNone), sl@0: DtoR_ERR_TEST(_L("1.0E+39"),KErrOverflow), sl@0: DtoR_ERR_TEST(_L("3.0E40"),KErrOverflow), sl@0: DtoR_ERR_TEST(_L("6.9E-46"),KErrUnderflow), sl@0: DtoR_ERR_TEST(_L("1.0E-325"),KErrUnderflow), sl@0: DtoR_ERR_TEST(_L("2.0E-400"),KErrUnderflow), sl@0: DtoR_ERR_TEST(_L("2.0E+400"),KErrOverflow), sl@0: }; sl@0: sl@0: GLDEF_D TUint size_testerr3=sizeof(testerr3); sl@0: sl@0: GLDEF_D CALC_TEST calctest[]= sl@0: { sl@0: CALC_TEST(_L("1.23412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234")), sl@0: CALC_TEST(_L("0.123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-01")), sl@0: CALC_TEST(_L("0.0123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-02")), sl@0: CALC_TEST(_L("0.00123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-03")), sl@0: CALC_TEST(_L("0.000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-04")), sl@0: CALC_TEST(_L("0.0000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-05")), sl@0: CALC_TEST(_L("0.00000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-06")), sl@0: CALC_TEST(_L("0.000000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-07")), sl@0: CALC_TEST(_L("0.0000000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-08")), sl@0: CALC_TEST(_L("0.00000000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-09")), sl@0: CALC_TEST(_L("0.000000000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-10")), sl@0: CALC_TEST(_L("0.0000000000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-11")), sl@0: CALC_TEST(_L("0.00000000000123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-12")), sl@0: CALC_TEST(_L("1.23412341234E-7"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-07")), sl@0: CALC_TEST(_L("1.23412341234E-8"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-08")), sl@0: CALC_TEST(_L("1.23412341234E-9"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-09")), sl@0: CALC_TEST(_L("1.23412341234E-10"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-10")), sl@0: CALC_TEST(_L("1.23412341234E-11"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-11")), sl@0: CALC_TEST(_L("1.23412341234E-12"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-12")), sl@0: CALC_TEST(_L("0.00000000000000"),KRealFormatCalculator,20,12,'.',',',0,_S("0")), sl@0: CALC_TEST(_L("0.000000000000009999999999999"),KRealFormatCalculator,20,12,'.',',',0,_S("1E-14")), sl@0: CALC_TEST(_L("0.000000000000000000009999999999999"),KRealFormatCalculator,20,12,'.',',',0,_S("1E-20")), sl@0: CALC_TEST(_L("999999999999.5"),KRealFormatCalculator,20,12,'.',',',0,_S("1E+12")), sl@0: CALC_TEST(_L("999999999999.4"),KRealFormatCalculator,20,12,'.',',',0,_S("999999999999")), sl@0: CALC_TEST(_L("1.234123412341"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234")), sl@0: CALC_TEST(_L("0.123412341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341234E-01")), sl@0: CALC_TEST(_L("0.012341234123"),KRealFormatCalculator,20,12,'.',',',0,_S("1.2341234123E-02")), sl@0: CALC_TEST(_L("0.001234123412"),KRealFormatCalculator,20,12,'.',',',0,_S("1.234123412E-03")), sl@0: CALC_TEST(_L("0.000123412341"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412341E-04")), sl@0: CALC_TEST(_L("0.000012341234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.2341234E-05")), sl@0: CALC_TEST(_L("0.000001234123"),KRealFormatCalculator,20,12,'.',',',0,_S("1.234123E-06")), sl@0: CALC_TEST(_L("0.000000123412"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23412E-07")), sl@0: CALC_TEST(_L("0.000000012341"),KRealFormatCalculator,20,12,'.',',',0,_S("1.2341E-08")), sl@0: CALC_TEST(_L("0.000000001234"),KRealFormatCalculator,20,12,'.',',',0,_S("1.234E-09")), sl@0: CALC_TEST(_L("0.000000000123"),KRealFormatCalculator,20,12,'.',',',0,_S("1.23E-10")), sl@0: CALC_TEST(_L("0.000000000012"),KRealFormatCalculator,20,12,'.',',',0,_S("1.2E-11")), sl@0: CALC_TEST(_L("0.000000000001"),KRealFormatCalculator,20,12,'.',',',0,_S("1E-12")), sl@0: CALC_TEST(_L("0.12341234123"),KRealFormatCalculator,20,12,'.',',',0,_S("0.12341234123")), sl@0: CALC_TEST(_L("0.01234123412"),KRealFormatCalculator,20,12,'.',',',0,_S("0.01234123412")), sl@0: CALC_TEST(_L("0.00123412341"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00123412341")), sl@0: CALC_TEST(_L("0.00012341234"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00012341234")), sl@0: CALC_TEST(_L("0.00001234123"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00001234123")), sl@0: CALC_TEST(_L("0.00000123412"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00000123412")), sl@0: CALC_TEST(_L("0.00000012341"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00000012341")), sl@0: CALC_TEST(_L("0.00000001234"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00000001234")), sl@0: CALC_TEST(_L("0.00000000123"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00000000123")), sl@0: CALC_TEST(_L("0.00000000012"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00000000012")), sl@0: CALC_TEST(_L("0.00000000001"),KRealFormatCalculator,20,12,'.',',',0,_S("0.00000000001")), sl@0: CALC_TEST(_L("0.000000000001"),KRealFormatCalculator,20,12,'.',',',0,_S("1E-12")), sl@0: CALC_TEST(_L("-1.234E19"),KRealFormatCalculator,20,12,'.',',',0,_S("-1.234E+19")), sl@0: }; sl@0: sl@0: GLDEF_D TUint size_calctest=sizeof(calctest); sl@0: sl@0: sl@0: sl@0: