Skip to content

Commit

Permalink
16_libm_expf: fix checks for floating point (#1464)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenneuendorffer authored May 8, 2024
1 parent d7d7ca6 commit 73e5d9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/unit_tests/aie/16_libm_expf/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 73e5d9b

Please sign in to comment.