Gerald Pfeifer : oleaut32: Use -0.0 directly in test_VarBstrFromR4().

Alexandre Julliard julliard at winehq.org
Fri Nov 2 08:10:17 CDT 2007


Module: wine
Branch: master
Commit: 16f021a22e162ddd3f044e70bce435e491666783
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=16f021a22e162ddd3f044e70bce435e491666783

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Thu Nov  1 15:02:08 2007 +0100

oleaut32: Use -0.0 directly in test_VarBstrFromR4().

---

 dlls/oleaut32/tests/vartype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 4558d82..b0335aa 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -4747,7 +4747,7 @@ static void test_VarBstrFromR4(void)
     }
   }
 
-  f = -1e-400;    /* deliberately cause underflow */
+  f = -0.0;
   hres = pVarBstrFromR4(f, lcid, 0, &bstr);
   ok(hres == S_OK, "got hres 0x%08x\n", hres);
   if (bstr)




More information about the wine-cvs mailing list