diff options
author | Matt Turner <mattst88@gmail.com> | 2024-01-03 21:25:20 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2024-01-03 21:40:12 -0500 |
commit | 396e1a76edbbe96b6584a80bc850243ed0f8a91d (patch) | |
tree | 4bb32432b3f8343b0e28cf90a3d64a1518ef6fb8 | |
parent | 7e76c962810914464122b9eec3699e910b3e6017 (diff) |
test: Use fabsl on float128
-rw-r--r-- | test/matrix-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/matrix-test.c b/test/matrix-test.c index 0a5f203..cd8820c 100644 --- a/test/matrix-test.c +++ b/test/matrix-test.c @@ -201,8 +201,8 @@ test_matrix (int testnum, int verbose) { for (j = 0; j < 3; j++) { - double diff = fabs (result_f.v[j] - - pixman_fixed_to_float128 (result_i.v[j])); + double diff = fabsl (result_f.v[j] - + pixman_fixed_to_float128 (result_i.v[j])); if (is_affine && diff > (0.51 / 65536.0)) { |