[cairo-commit] test/invalid-matrix.c
Jeff Muizelaar
jrmuizel at kemper.freedesktop.org
Thu Feb 5 13:53:04 PST 2009
test/invalid-matrix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit af5ca7249f7628a8b0758f51934e3c1f6d9f4f36
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date: Thu Feb 5 16:46:50 2009 -0500
[test] Fix the definition of INFINITY
In my defence, even with INFINITY as 0, I was seeing new asserts on win32.
Caught by Jeremy Lea.
diff --git a/test/invalid-matrix.c b/test/invalid-matrix.c
index 62d3220..86ed0be 100644
--- a/test/invalid-matrix.c
+++ b/test/invalid-matrix.c
@@ -30,7 +30,7 @@
#include "cairo-test.h"
#if defined(HAVE_IEEE754) && !defined(INFINITY)
-#define INFINITY (0./1.)
+#define INFINITY (1./0.)
#endif
#if HAVE_FEDISABLEEXCEPT
More information about the cairo-commit
mailing list