oleaut32: Add a failing VarFormat test showing that wine wrongly truncates decimals with large negative exponents instead of rounding.
This commit is contained in:
parent
850f6c7965
commit
b51d03125d
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue