From 09ca181cab4849d59e1606ba91d1146d043c0271 Mon Sep 17 00:00:00 2001 From: Alberto Massari <amassari@apache.org> Date: Wed, 26 Aug 2009 13:18:57 +0000 Subject: [PATCH] The invalid xs:float is now e-46, not e-39 git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@807999 13f79535-47bb-0310-9956-ffa450edef68 --- tests/src/XSValueTest/XSValueTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/src/XSValueTest/XSValueTest.cpp b/tests/src/XSValueTest/XSValueTest.cpp index 5e3d27dc4..c1f2aacb4 100644 --- a/tests/src/XSValueTest/XSValueTest.cpp +++ b/tests/src/XSValueTest/XSValueTest.cpp @@ -949,8 +949,8 @@ void test_dt_float() const char lex_v_ran_iv_1[]="+3.402823466e+39"; const char lex_v_ran_iv_2[]="-3.402823466e+39"; - const char lex_v_ran_iv_3[]="+1.175494351e-39"; - const char lex_v_ran_iv_4[]="-1.175494351e-39"; + const char lex_v_ran_iv_3[]="+1.175494351e-46"; + const char lex_v_ran_iv_4[]="-1.175494351e-46"; XSValue::XSValue_Data lex_iv_ran_v_1; lex_iv_ran_v_1.fValue.f_float = (float)0.0; lex_iv_ran_v_1.fValue.f_floatType.f_floatEnum = XSValue::DoubleFloatType_PosINF; @@ -963,8 +963,8 @@ void test_dt_float() const char lex_v_ran_iv_1_canrep[]="INF"; // " 3.402823466E39" const char lex_v_ran_iv_2_canrep[]="-INF"; // "-3.402823466E39"; - const char lex_v_ran_iv_3_canrep[]="0"; // " 1.175494351E-39"; - const char lex_v_ran_iv_4_canrep[]="0"; // "-1.175494351E-39"; + const char lex_v_ran_iv_3_canrep[]="0"; // " 1.175494351E-46"; + const char lex_v_ran_iv_4_canrep[]="0"; // "-1.175494351E-46"; const char lex_iv_1[]="12x.e+10"; const char lex_iv_2[]="12.e+1x"; -- GitLab