Damjan Jovanovic : oleaut32: Add a failing VarFormat test showing that wine wrongly truncates decimals with large negative exponents instead of rounding .
Alexandre Julliard
julliard at winehq.org
Mon May 18 08:13:13 CDT 2009
Module: wine
Branch: master
Commit: b51d03125d430b2d6ff04ad371efafca9394113a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b51d03125d430b2d6ff04ad371efafca9394113a
Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date: Sun May 17 11:09:16 2009 +0200
oleaut32: Add a failing VarFormat test showing that wine wrongly truncates decimals with large negative exponents instead of rounding.
---
dlls/oleaut32/tests/varformat.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/oleaut32/tests/varformat.c b/dlls/oleaut32/tests/varformat.c
index 3c0e72e..6833a27 100644
--- a/dlls/oleaut32/tests/varformat.c
+++ b/dlls/oleaut32/tests/varformat.c
@@ -381,6 +381,8 @@ static void test_VarFormat(void)
VARFMT(VT_R8,V_R8,-0.1,".#",S_OK,"-.1");
VARFMT(VT_R8,V_R8,0.099,"#.#",S_OK,".1");
VARFMT(VT_R8,V_R8,0.0999,"#.##",S_OK,".1");
+ /* for large negative exponents, wine truncates instead of rounding */
+ todo_wine VARFMT(VT_R8,V_R8,0.099,"#.##",S_OK,".1");
/* 'out' is not cleared */
More information about the wine-cvs
mailing list