summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2012-09-09 17:56:53 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-10-01 12:56:09 -0400
commit4760599ff3008ab0f1e36a7d4d362362817fd930 (patch)
treecd63ac07b7a3ba5c9b6091c1d25a62e782c9f791 /demos
parenta5b459114e35c7a946362f1e5857e8a87a403ec3 (diff)
Add combiner test
This test runs the new floating point combiners on random input with divide-by-zero exceptions turned on. With the floating point combiners the only thing we guarantee is that divide-by-zero exceptions are not generated, so change enable_fp_exceptions() to only enable those, and rename accordingly.
Diffstat (limited to 'demos')
-rw-r--r--demos/radial-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/radial-test.c b/demos/radial-test.c
index 35e90d7..e64f357 100644
--- a/demos/radial-test.c
+++ b/demos/radial-test.c
@@ -133,7 +133,7 @@ main (int argc, char **argv)
pixman_image_t *src_img, *dest_img;
int i, j;
- enable_fp_exceptions ();
+ enable_divbyzero_exceptions ();
dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8,
WIDTH, HEIGHT,