From 73e5d9b3a601b1ab578b4406e90ed24ba6fec366 Mon Sep 17 00:00:00 2001 From: Stephen Neuendorffer Date: Tue, 7 May 2024 23:27:58 -0700 Subject: [PATCH] 16_libm_expf: fix checks for floating point (#1464) --- test/unit_tests/aie/16_libm_expf/test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/unit_tests/aie/16_libm_expf/test.cpp b/test/unit_tests/aie/16_libm_expf/test.cpp index 22faf4dceb..9297a197d8 100644 --- a/test/unit_tests/aie/16_libm_expf/test.cpp +++ b/test/unit_tests/aie/16_libm_expf/test.cpp @@ -60,8 +60,9 @@ int main(int argc, char *argv[]) { } for (int i = 0; i < 256; i++) { - mlir_aie_check("After release lock:", mlir_aie_read_buffer_b(_xaie, i), - expf(mlir_aie_read_buffer_a(_xaie, i)), errors); + mlir_aie_check_float( + "After release lock:", mlir_aie_read_buffer_b(_xaie, i), + expf(mlir_aie_read_buffer_a(_xaie, i)), errors); } int res = 0;