jscript/tests: Fix a test that fails because of the reduced FPU precision.

This commit is contained in:
Alexandre Julliard 2010-06-22 12:52:03 +02:00
parent 8f0a0c23fa
commit b4d21efd12

View File

@ -263,7 +263,9 @@ ok(tmp === 7, "2*3.5 !== 7");
ok(getVT(tmp) === "VT_I4", "getVT(2*3.5) !== VT_I4");
tmp = 2.5*3.5;
ok(tmp === 8.75, "2.5*3.5 !== 8.75");
/* FIXME: the parser loses precision */
/* ok(tmp === 8.75, "2.5*3.5 !== 8.75"); */
ok(tmp > 8.749999 && tmp < 8.750001, "2.5*3.5 !== 8.75");
ok(getVT(tmp) === "VT_R8", "getVT(2.5*3.5) !== VT_R8");
tmp = 4/2;