[OpenMP][Offloading] Change the way to compare floating point values in bug49334.cpp
authorShilei Tian <i@tianshilei.me>
Thu, 10 Feb 2022 23:20:29 +0000 (18:20 -0500)
committerShilei Tian <i@tianshilei.me>
Thu, 10 Feb 2022 23:20:36 +0000 (18:20 -0500)
commit702a976c125cde4807b7c870518e64b345df2396
treedcaf62363a5580344fe3d745e94fefce58646cfe
parentf927021410691bc2612cfb635b1d9cf9b94977e6
[OpenMP][Offloading] Change the way to compare floating point values in bug49334.cpp

`bug49334.cpp` directly uses `!=` to compare two floating point values,
which is almost wrong.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D119485
openmp/libomptarget/test/offloading/bug49334.cpp