Fix the case of floats in VarBstrFromR4, VarBstrFromR8 and
commit18e6bb81e3f90e56157733f687346a7d46f4609c
authorFrancois Gouget <fgouget@free.fr>
Mon, 13 Jan 2003 18:30:18 +0000 (13 18:30 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 13 Jan 2003 18:30:18 +0000 (13 18:30 +0000)
tree3a3348a13dedfcae63b45b5ba053235101d181fd
parentc7de2085bb3840cde92c24ef45232c9e11e471e8
Fix the case of floats in VarBstrFromR4, VarBstrFromR8 and
VarBstrFromCy.
We cannot check for equality of floats or doubles because of rounding
errors. Check equality to 14 digits for doubles.
Add more precision to the expected results so that they match actual
results.
Print floating values with more precision so we know what went wrong.
Specify the locale for all variant functions that depend on it.
Added return codes for Win95. Win95 returns dates with only two digits
for the year.
Uncommented more VariantCopyInd and VariantChangeTypeEx tests.
dlls/oleaut32/tests/vartest.c
dlls/oleaut32/variant.c