peiyongz 2004/08/23 10:07:58 Modified: c/tests/XSValueTest XSValueTest.cpp Log: Minimum representable range on all platforms Revision Changes Path 1.3 +11 -5 xml-xerces/c/tests/XSValueTest/XSValueTest.cpp Index: XSValueTest.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/tests/XSValueTest/XSValueTest.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- XSValueTest.cpp 19 Aug 2004 21:29:28 -0000 1.2 +++ XSValueTest.cpp 23 Aug 2004 17:07:57 -0000 1.3 @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ +* Revision 1.3 2004/08/23 17:07:57 peiyongz +* Minimum representable range on all platforms +* * Revision 1.2 2004/08/19 21:29:28 peiyongz * no message * @@ -720,13 +723,16 @@ const char lex_v_ran_iv_1[]="+1.7976931348623158e+309"; const char lex_v_ran_iv_2[]="-1.7976931348623158e+309"; - const char lex_v_ran_iv_3[]="+2.2250738585072014e-309"; - const char lex_v_ran_iv_4[]="-2.2250738585072014e-309"; + // on linux, hp, aix, the representable range is around e-324 + // or e-325, using e-329 to gain consistent result on all + // platforms + const char lex_v_ran_iv_3[]="+2.2250738585072014e-329"; + const char lex_v_ran_iv_4[]="-2.2250738585072014e-329"; const char lex_v_ran_iv_1_canrep[]="1.7976931348623158E309"; const char lex_v_ran_iv_2_canrep[]="-1.7976931348623158E309"; - const char lex_v_ran_iv_3_canrep[]="2.2250738585072014E-309"; - const char lex_v_ran_iv_4_canrep[]="-2.2250738585072014E-309"; + const char lex_v_ran_iv_3_canrep[]="2.2250738585072014E-329"; + const char lex_v_ran_iv_4_canrep[]="-2.2250738585072014E-329"; const char lex_iv_1[]="12x.e+10"; const char lex_iv_2[]="12.e+1x";
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]