Mercurial > vec
diff test/test_compare.h @ 7:945d410803f8
*: fix clang & gcc warnings, add avg test, etc
author | Paper <paper@tflc.us> |
---|---|
date | Wed, 23 Oct 2024 20:07:08 -0400 |
parents | 75ab77f874e2 |
children | d1d5d767004c |
line wrap: on
line diff
--- a/test/test_compare.h Wed Oct 23 19:05:34 2024 -0400 +++ b/test/test_compare.h Wed Oct 23 20:07:08 2024 -0400 @@ -11,7 +11,7 @@ \ for (int i = 0; i < size; i++) { \ if ((sign##int##bits##_t)(((equiv) ? UINT##bits##_MAX : 0)) != orig_c[i]) { \ - fprintf(stderr, "v" #sign "int" #bits "x" #size "_" #op " test FAILED at index %d: (" #equiv ") [%" PRI ## psign ## bits "] does not equal result [%" PRI ## psign ## bits "]!\n", i, equiv, orig_c[i]); \ + fprintf(stderr, "v" #sign "int" #bits "x" #size "_" #op " test FAILED at index %d: (" #equiv ") [%d] does not equal result [%" PRI ## psign ## bits "]!\n", i, equiv, orig_c[i]); \ print_v##sign##int##bits##x##size(stderr,a); \ print_v##sign##int##bits##x##size(stderr,b); \ print_v##sign##int##bits##x##size(stderr,c); \